summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormekolat <mekolat@users.noreply.github.com>2016-04-30 18:37:13 -0400
committermekolat <mekolat@users.noreply.github.com>2016-05-02 16:16:05 -0400
commitaa92963e97d1c1fcb632b081be485dfe1aa7ba72 (patch)
tree4fb3627359d06d02b3075fffe6a613e7c463af74
parentbfb9fd865b2e299c828bc7441376a891005b31a5 (diff)
downloadserverdata-aa92963e97d1c1fcb632b081be485dfe1aa7ba72.tar.gz
serverdata-aa92963e97d1c1fcb632b081be485dfe1aa7ba72.tar.bz2
serverdata-aa92963e97d1c1fcb632b081be485dfe1aa7ba72.tar.xz
serverdata-aa92963e97d1c1fcb632b081be485dfe1aa7ba72.zip
add puppet check to `frillyar` spell
-rw-r--r--world/map/npc/magic/level2-arrow-hail.txt1
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;