summaryrefslogtreecommitdiff
path: root/world
diff options
context:
space:
mode:
authormekolat <mekolat@users.noreply.github.com>2016-04-30 18:34:26 -0400
committermekolat <mekolat@users.noreply.github.com>2016-05-02 16:15:38 -0400
commit5c3108a608e85e7534eeb0e282143ab530a6674e (patch)
tree97dba89712ae06551f57e6eee9cafcfae31621d3 /world
parentfdbf26f3203d1298314c1ecdc2fd6942b1f12d17 (diff)
downloadclassic-serverdata-5c3108a608e85e7534eeb0e282143ab530a6674e.tar.gz
classic-serverdata-5c3108a608e85e7534eeb0e282143ab530a6674e.tar.bz2
classic-serverdata-5c3108a608e85e7534eeb0e282143ab530a6674e.tar.xz
classic-serverdata-5c3108a608e85e7534eeb0e282143ab530a6674e.zip
add puppet check to `kalgina` summon spell
Diffstat (limited to 'world')
-rw-r--r--world/map/npc/magic/level2-summon-pinkie.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/world/map/npc/magic/level2-summon-pinkie.txt b/world/map/npc/magic/level2-summon-pinkie.txt
index b91ec1d9..785c8364 100644
--- a/world/map/npc/magic/level2-summon-pinkie.txt
+++ b/world/map/npc/magic/level2-summon-pinkie.txt
@@ -3,7 +3,7 @@
end;
OnCast:
- if(call("magic_checks")) end;
+ if(call("magic_checks")) end;
if (Sp < 35) end;
if (getskilllv(SKILL_MAGIC) < .level) end;
if (getskilllv(.school) < .level) end;
@@ -19,6 +19,7 @@ OnCast:
callfunc "magic_exp";
set .@puppet$, "#"+strnpcinfo(0)+"#"+BL_ID;
set .@puppet, puppet(getmap(), POS_X, POS_Y, .@puppet$, 127);
+ if (.@puppet < 1) end;
set .count, (@spellpower/120)+1, .@puppet;
set .master, BL_ID, .@puppet;
set .lifetime, @spellpower*150, .@puppet;