diff options
author | mekolat <mekolat@users.noreply.github.com> | 2016-04-30 18:37:55 -0400 |
---|---|---|
committer | mekolat <mekolat@users.noreply.github.com> | 2016-05-02 16:16:31 -0400 |
commit | 3ad45c53e32f0700f68c429fd818372d9892c6d8 (patch) | |
tree | 22bde1b4723e9a653722afd898354c3ef422e034 | |
parent | f26426d583414ff8c334ce2d1147c28e262d1b21 (diff) | |
download | serverdata-3ad45c53e32f0700f68c429fd818372d9892c6d8.tar.gz serverdata-3ad45c53e32f0700f68c429fd818372d9892c6d8.tar.bz2 serverdata-3ad45c53e32f0700f68c429fd818372d9892c6d8.tar.xz serverdata-3ad45c53e32f0700f68c429fd818372d9892c6d8.zip |
add puppet check to `kalmurk` summon spell
-rw-r--r-- | world/map/npc/magic/level1-summon-maggots.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/world/map/npc/magic/level1-summon-maggots.txt b/world/map/npc/magic/level1-summon-maggots.txt index aa4e646f..49022635 100644 --- a/world/map/npc/magic/level1-summon-maggots.txt +++ b/world/map/npc/magic/level1-summon-maggots.txt @@ -18,6 +18,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, ((sqrt(@spellpower)+(@spellpower/15))/5)+1, .@puppet; set .master, BL_ID, .@puppet; set .lifetime, (@spellpower*50)+10000, .@puppet; |