diff options
Diffstat (limited to 'npc/042-1')
-rw-r--r-- | npc/042-1/door.txt | 7 |
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 |