summaryrefslogtreecommitdiff
path: root/npc/042-1
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-04-28 18:46:36 -0300
committerJesusaves <cpntb1@ymail.com>2020-04-28 18:46:36 -0300
commit0a808cdee32b7c8c29e2dbce2c109ae6c0d92e2d (patch)
tree85ef624597e892f567890dc6339ab6df11278a02 /npc/042-1
parentb4f6c1b5d1cca04ebb130f6394007c6acb81e986 (diff)
downloadserverdata-0a808cdee32b7c8c29e2dbce2c109ae6c0d92e2d.tar.gz
serverdata-0a808cdee32b7c8c29e2dbce2c109ae6c0d92e2d.tar.bz2
serverdata-0a808cdee32b7c8c29e2dbce2c109ae6c0d92e2d.tar.xz
serverdata-0a808cdee32b7c8c29e2dbce2c109ae6c0d92e2d.zip
I'll deal with this later
Diffstat (limited to 'npc/042-1')
-rw-r--r--npc/042-1/door.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/npc/042-1/door.txt b/npc/042-1/door.txt
index a24e96eb4..c3fe14602 100644
--- a/npc/042-1/door.txt
+++ b/npc/042-1/door.txt
@@ -12,6 +12,13 @@ OnTouch:
.@g=getcharid(2);
if ($KAMELOT_KEYMASK[.@g] & 16) {
warp "042-2@"+.@g, 44, 59;
+
+ // Maybe event must be fired
+ if (!($KAMELOT_QUEST[.@g] & 4)) {
+ .@label$=instance_npcname("#KDoor0422", $@KAMELOT_ID[.@g])+"::OnArrival";
+ deltimer .@label$;
+ addtimer 15000, .@label$;
+ }
} else {
dispbottom l("This door is locked.");
doevent instance_npcname(.name$)+"::OnKillMob"; // Double-check