From d7bd83f00ab64b1f9614cafed3bc1938fa03f554 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Tue, 18 Jun 2019 13:21:13 -0300 Subject: Attach npc timer, lower Ninja's damage in 100 points --- npc/023-3-1/logic.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'npc') diff --git a/npc/023-3-1/logic.txt b/npc/023-3-1/logic.txt index feea88abb..5f2fc1e85 100644 --- a/npc/023-3-1/logic.txt +++ b/npc/023-3-1/logic.txt @@ -87,7 +87,8 @@ OnTouch: // Begin the event core setq3 FrostiaQuest_Homunculus, 2; addtimer(1100, .@n$+"::OnEvent01"); - initnpctimer; + attachnpctimer(); + initnpctimer(); } end; OnEvent01: @@ -271,8 +272,11 @@ OnTimer1000: .@m$=instance_mapname("023-3-1"); if (getmapusers(.@m$)) initnpctimer; +OnTimerQuit: // Cleanup - you fail. killmonsterall(.@m$); + stopnpctimer(); + detachnpctimer(); end; } -- cgit v1.2.3-60-g2f50