Parcourir la source

Spiritball typo

Signed-off-by: Cydh Ramdh <house.bad@gmail.com>
Cydh Ramdh il y a 11 ans
Parent
commit
072e98bdf2
2 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 1 1
      doc/script_commands.txt
  2. 1 1
      src/map/script.c

+ 1 - 1
doc/script_commands.txt

@@ -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.
 
 ---------------------------------------
 

+ 1 - 1
src/map/script.c

@@ -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));