diff options
author | mekolat <mekolat@users.noreply.github.com> | 2016-04-30 18:34:48 -0400 |
---|---|---|
committer | mekolat <mekolat@users.noreply.github.com> | 2016-05-02 16:15:48 -0400 |
commit | 6b59dd5455ac2af31badba6c7c71aac775f54430 (patch) | |
tree | 0b3c1ada385ca60a5ff0b6da76033d3978753167 /world/map/npc | |
parent | 5c3108a608e85e7534eeb0e282143ab530a6674e (diff) | |
download | serverdata-6b59dd5455ac2af31badba6c7c71aac775f54430.tar.gz serverdata-6b59dd5455ac2af31badba6c7c71aac775f54430.tar.bz2 serverdata-6b59dd5455ac2af31badba6c7c71aac775f54430.tar.xz serverdata-6b59dd5455ac2af31badba6c7c71aac775f54430.zip |
add puppet check to `kalboo` summon spell
Diffstat (limited to 'world/map/npc')
-rw-r--r-- | world/map/npc/magic/level2-summon-mouboo.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/world/map/npc/magic/level2-summon-mouboo.txt b/world/map/npc/magic/level2-summon-mouboo.txt index 8eb074c6..f6a68fcf 100644 --- a/world/map/npc/magic/level2-summon-mouboo.txt +++ b/world/map/npc/magic/level2-summon-mouboo.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/270)+1, .@puppet; set .master, BL_ID, .@puppet; set .lifetime, @spellpower*100, .@puppet; |