summaryrefslogtreecommitdiff
path: root/npc/042-1
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-04-28 16:07:29 -0300
committerJesusaves <cpntb1@ymail.com>2020-04-28 16:07:29 -0300
commit96a67eaaa6a7ec8859b575eca16e78684c3619ea (patch)
tree9f981a9d7f45f30d613ac0e1e99a747ff0ec5632 /npc/042-1
parent66b30629b30b03bf8ae94e627d98740234e5a819 (diff)
downloadserverdata-96a67eaaa6a7ec8859b575eca16e78684c3619ea.tar.gz
serverdata-96a67eaaa6a7ec8859b575eca16e78684c3619ea.tar.bz2
serverdata-96a67eaaa6a7ec8859b575eca16e78684c3619ea.tar.xz
serverdata-96a67eaaa6a7ec8859b575eca16e78684c3619ea.zip
Add a few more checks
Diffstat (limited to 'npc/042-1')
-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;