summaryrefslogtreecommitdiff
path: root/src/map/script.c
diff options
context:
space:
mode:
authorAnnieRuru <jeankofannie2@gmail.com>2019-03-03 19:39:03 +0800
committerAnnieRuru <jeankofannie2@gmail.com>2019-03-03 19:39:03 +0800
commit7893a47d101e6eea5c3bb5abad06190770c65a12 (patch)
treeaec6dab6c64aec7e083eda94c5a7424780da0167 /src/map/script.c
parent1ac84c2dd856087a4a72fec95b3322137187637a (diff)
downloadhercules-7893a47d101e6eea5c3bb5abad06190770c65a12.tar.gz
hercules-7893a47d101e6eea5c3bb5abad06190770c65a12.tar.bz2
hercules-7893a47d101e6eea5c3bb5abad06190770c65a12.tar.xz
hercules-7893a47d101e6eea5c3bb5abad06190770c65a12.zip
Fix *needed_status_point not support <char_id>
Diffstat (limited to 'src/map/script.c')
-rw-r--r--src/map/script.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/script.c b/src/map/script.c
index 7e6e06376..51d7ebe3b 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -9720,7 +9720,7 @@ static BUILDIN(statusup2)
/*==========================================
* Returns the number of stat points needed to change the specified stat by val.
-* needed_status_point(<type>,<val>{,<char id>}); [secretdataz]
+* needed_status_point(<type>,<val>); [secretdataz]
*------------------------------------------*/
static BUILDIN(needed_status_point)
{
@@ -25296,7 +25296,7 @@ static void script_parse_builtin(void)
BUILDIN_DEF(downrefitem,"i?"),
BUILDIN_DEF(statusup,"i"),
BUILDIN_DEF(statusup2,"ii"),
- BUILDIN_DEF(needed_status_point,"ii?"),
+ BUILDIN_DEF(needed_status_point, "ii"),
BUILDIN_DEF(bonus,"iv"),
BUILDIN_DEF2(bonus,"bonus2","ivi"),
BUILDIN_DEF2(bonus,"bonus3","ivii"),