summaryrefslogtreecommitdiff
path: root/world/map/npc/magic
diff options
context:
space:
mode:
authormekolat <mekolat@users.noreply.github.com>2016-04-30 18:37:23 -0400
committermekolat <mekolat@users.noreply.github.com>2016-05-02 16:16:12 -0400
commitf26426d583414ff8c334ce2d1147c28e262d1b21 (patch)
tree5a45840405a6847d112712c6b536df82eb561939 /world/map/npc/magic
parentaa92963e97d1c1fcb632b081be485dfe1aa7ba72 (diff)
downloadserverdata-f26426d583414ff8c334ce2d1147c28e262d1b21.tar.gz
serverdata-f26426d583414ff8c334ce2d1147c28e262d1b21.tar.bz2
serverdata-f26426d583414ff8c334ce2d1147c28e262d1b21.tar.xz
serverdata-f26426d583414ff8c334ce2d1147c28e262d1b21.zip
add puppet check to `kaflosh` spell
Diffstat (limited to 'world/map/npc/magic')
-rw-r--r--world/map/npc/magic/level2-rain.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/world/map/npc/magic/level2-rain.txt b/world/map/npc/magic/level2-rain.txt
index 9a498c08..9e62782d 100644
--- a/world/map/npc/magic/level2-rain.txt
+++ b/world/map/npc/magic/level2-rain.txt
@@ -29,6 +29,7 @@ OnCast:
callfunc "magic_exp";
misceffect FX_MAGIC_GREEN, 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 .caster, getcharid(3), @spell_npc; // tell the puppet who controls it
set .radius, @krad, @spell_npc; // this is also used by ingrav, don't rename
set .initial_x, POS_X, @spell_npc;