summaryrefslogtreecommitdiff
path: root/world/map/npc/magic/level2-arrow-hail.txt
diff options
context:
space:
mode:
Diffstat (limited to 'world/map/npc/magic/level2-arrow-hail.txt')
-rw-r--r--world/map/npc/magic/level2-arrow-hail.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/world/map/npc/magic/level2-arrow-hail.txt b/world/map/npc/magic/level2-arrow-hail.txt
index 6e317232..928c40b7 100644
--- a/world/map/npc/magic/level2-arrow-hail.txt
+++ b/world/map/npc/magic/level2-arrow-hail.txt
@@ -66,6 +66,7 @@ OnNearbyNpc:
end;
OnLaunch:
+ if (!isloggedin(.caster)) destroy;
if(get(Hp, .caster) < 1) destroy; // destroy if caster is missing
if(getmap(.caster) != strnpcinfo(3)) destroy; // destroy if caster left the map
set .hit, .hit + 1;
@@ -93,6 +94,7 @@ OnTimer30000:
destroy;
OnHit:
+ if (!isloggedin(.caster)) destroy;
if(get(Hp, .caster) < 1) destroy; // destroy if caster is missing
if(getmap(.caster) != strnpcinfo(3)) destroy; // destroy if caster left the map