diff options
author | mekolat <mekolat@users.noreply.github.com> | 2016-04-30 18:37:13 -0400 |
---|---|---|
committer | mekolat <mekolat@users.noreply.github.com> | 2016-05-02 16:16:05 -0400 |
commit | aa92963e97d1c1fcb632b081be485dfe1aa7ba72 (patch) | |
tree | 4fb3627359d06d02b3075fffe6a613e7c463af74 /world/map/npc | |
parent | bfb9fd865b2e299c828bc7441376a891005b31a5 (diff) | |
download | serverdata-aa92963e97d1c1fcb632b081be485dfe1aa7ba72.tar.gz serverdata-aa92963e97d1c1fcb632b081be485dfe1aa7ba72.tar.bz2 serverdata-aa92963e97d1c1fcb632b081be485dfe1aa7ba72.tar.xz serverdata-aa92963e97d1c1fcb632b081be485dfe1aa7ba72.zip |
add puppet check to `frillyar` spell
Diffstat (limited to 'world/map/npc')
-rw-r--r-- | world/map/npc/magic/level2-arrow-hail.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/world/map/npc/magic/level2-arrow-hail.txt b/world/map/npc/magic/level2-arrow-hail.txt index c7deb852..35cd584e 100644 --- a/world/map/npc/magic/level2-arrow-hail.txt +++ b/world/map/npc/magic/level2-arrow-hail.txt @@ -32,6 +32,7 @@ OnCast: callfunc "magic_exp"; misceffect FX_MAGIC_BLACK, strcharinfo(0); set @spell_npc, puppet(getmap(), POS_X, POS_Y, @new_npc_name$, 127); // clone npc => get puppet id + if (@spell_npc < 1) end; set .max_hit, (@spellpower / 8), @spell_npc; // set .max_hit in the puppet set .caster, getcharid(3), @spell_npc; // tell the puppet who controls it set .damage, 125, @spell_npc; |