From d7bbebdf8526667b288223c8adc2d110204814c5 Mon Sep 17 00:00:00 2001 From: Emistry Haoyan Date: Tue, 2 Oct 2018 22:41:53 +0800 Subject: Implement status reduction script command. - for stat reduction support. - return the amount of status point required to increase a status. --- doc/script_commands.txt | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'doc') diff --git a/doc/script_commands.txt b/doc/script_commands.txt index 343eb02cb..953cc86f3 100644 --- a/doc/script_commands.txt +++ b/doc/script_commands.txt @@ -6034,6 +6034,22 @@ Amount can be negative. See statusup(). --------------------------------------- +*needed_status_point(, , {}); + +Returns the number of stat points needed to change the specified stat by . +If is negative, returns the number of stat points that would be needed to +raise the specified stat from (current value - ) to current value. + +List of : +bStr - Strength +bVit - Vitality +bInt - Intelligence +bAgi - Agility +bDex - Dexterity +bLuk - Luck + +--------------------------------------- + *bonus(, ) *bonus2(, , ) *bonus3(, , , ) -- cgit v1.2.3-60-g2f50