diff --git a/doc/script_commands.txt b/doc/script_commands.txt index 33d78696f3..785a1a43a1 100644 --- a/doc/script_commands.txt +++ b/doc/script_commands.txt @@ -2373,19 +2373,19 @@ NOTE: This command is only available if the VIP System is enabled. *addspiritball {,}; -Adds amount of spirit ball to player. +Adds spirit ball(s) to player. --------------------------------------- *delspiritball {,}; -Deletes amount of spirit ball from player. +Deletes the spirit ball(s) from player. --------------------------------------- *delspiritball {,}; -Counts amount of spirit ball that player has. +Counts the spirit ball that player has --------------------------------------- \\ diff --git a/src/map/script.c b/src/map/script.c index 5b536c3ad3..dc49b6566b 100644 --- a/src/map/script.c +++ b/src/map/script.c @@ -18171,7 +18171,7 @@ BUILDIN_FUNC(bonus_script) { return SCRIPT_CMD_SUCCESS; } -/** Adds amount of spirit ball to player +/** Adds spirit ball(s) to player * addspiritball {,}; */ BUILDIN_FUNC(addspiritball) { @@ -18188,7 +18188,7 @@ BUILDIN_FUNC(addspiritball) { return SCRIPT_CMD_SUCCESS; } -/** Deletes amount of spirit ball from player +/** Deletes the spirit ball(s) from player * delspiritball {,}; */ BUILDIN_FUNC(delspiritball) { @@ -18205,7 +18205,7 @@ BUILDIN_FUNC(delspiritball) { return SCRIPT_CMD_SUCCESS; } -/** Counts amount of spirit ball that player has +/** Counts the spirit ball that player has * delspiritball {,}; */ BUILDIN_FUNC(countspiritball) { @@ -18704,8 +18704,8 @@ struct script_function buildin_func[] = { BUILDIN_DEF(vip_time,"i?"), #endif BUILDIN_DEF(bonus_script,"si???"), - BUILDIN_DEF(addspiritball,"??"), - BUILDIN_DEF(delspiritball,"??"), + BUILDIN_DEF(addspiritball,"i?"), + BUILDIN_DEF(delspiritball,"i?"), BUILDIN_DEF(countspiritball,"?"), #include "../custom/script_def.inc"