summaryrefslogtreecommitdiff
path: root/npc/042-1/door.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/042-1/door.txt')
-rw-r--r--npc/042-1/door.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/npc/042-1/door.txt b/npc/042-1/door.txt
index fd1386b6c..93c1deffd 100644
--- a/npc/042-1/door.txt
+++ b/npc/042-1/door.txt
@@ -170,6 +170,11 @@ OnTimer10000:
end;
OnArrival:
+ .@g=getcharid(2);
+ if (.@g < 1)
+ percentheal -100, -100;
+ if (getmap() != "042-1@"+.@g)
+ end;
if ($@KAMELOT_WAVE == 0)
goto OnKillMob;
end;