From 718d6d09146d5b56f689de9485a07b5e17e74d7b Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Wed, 29 Apr 2020 05:10:04 -0300 Subject: Debug markers --- npc/042-2/boss.txt | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'npc/042-2') diff --git a/npc/042-2/boss.txt b/npc/042-2/boss.txt index 75fcfe1b0..0f8367035 100644 --- a/npc/042-2/boss.txt +++ b/npc/042-2/boss.txt @@ -22,6 +22,7 @@ OnTouch: end; OnArrival: + debugmes "Arrival detected"; .@g=getcharid(2); if (.@g < 1) percentheal -100, -100; @@ -31,6 +32,7 @@ OnArrival: end; $@KAMELOT_WAVE[.@g]+=1; initnpctimer; + debugmes "Timer Started"; //if ($@KAMELOT_WAVE == 0) // goto OnKillMob; // TODO: Fire dialog @@ -38,6 +40,14 @@ OnArrival: // ... end; +OnEmergency: + initnpctimer; + end; + +OnEmergency2: + dispbottom instance_npcname("#KDoor0422", $@KAMELOT_ID[.@g]); + end; + OnTimer1000: .@m$=instance_mapname("042-2"); mapannounce .@m$, "??? : What's this? Why do I hear a commotion up there??", 0; -- cgit v1.2.3-60-g2f50