From 0a808cdee32b7c8c29e2dbce2c109ae6c0d92e2d Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Tue, 28 Apr 2020 18:46:36 -0300 Subject: I'll deal with this later --- npc/042-1/door.txt | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'npc/042-1/door.txt') 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 -- cgit v1.2.3-70-g09d2