Spiritball typo

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
This commit is contained in:
Cydh Ramdh 2014-02-23 19:17:11 +07:00
parent 98f7a78133
commit 072e98bdf2
2 changed files with 2 additions and 2 deletions

View File

@ -2379,7 +2379,7 @@ NOTE: This command is only available if the VIP System is enabled.
*addspiritball <count>,<duration>{,<char_id>};
Adds a spirit ball to player for 'duration' in milisecond.
Adds spirit ball to player for 'duration' in milisecond.
---------------------------------------

View File

@ -18589,7 +18589,7 @@ BUILDIN_FUNC(delspiritball) {
count = 1;
if (script_hasdata(st,3)) {
if (script_isstring(st,2))
if (script_isstring(st,3))
sd = map_charid2sd(script_getnum(st,3));
else
sd = map_nick2sd(script_getstr(st,3));