summaryrefslogtreecommitdiff
path: root/world/map/npc/magic/level2-summon-wickedmushroom.txt
diff options
context:
space:
mode:
Diffstat (limited to 'world/map/npc/magic/level2-summon-wickedmushroom.txt')
-rw-r--r--world/map/npc/magic/level2-summon-wickedmushroom.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/world/map/npc/magic/level2-summon-wickedmushroom.txt b/world/map/npc/magic/level2-summon-wickedmushroom.txt
index 3b8b9cfc..280303a4 100644
--- a/world/map/npc/magic/level2-summon-wickedmushroom.txt
+++ b/world/map/npc/magic/level2-summon-wickedmushroom.txt
@@ -29,6 +29,7 @@ OnCast:
end;
OnSummon:
+ if (!isloggedin(.master)) destroy;
if(get(Hp, .master) < 1) destroy; // destroy if master is missing
if(getmap(.master) != strnpcinfo(3)) destroy; // destroy if master left the map
specialeffect FX_PENTAGRAM_BURST;