From 96a67eaaa6a7ec8859b575eca16e78684c3619ea Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Tue, 28 Apr 2020 16:07:29 -0300 Subject: Add a few more checks --- npc/042-1/door.txt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'npc/042-1/door.txt') 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; -- cgit v1.2.3-60-g2f50