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 --- db/re/mob_db.conf | 2 +- npc/023-3-1/logic.txt | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/db/re/mob_db.conf b/db/re/mob_db.conf index 434092eb1..08dde49b8 100644 --- a/db/re/mob_db.conf +++ b/db/re/mob_db.conf @@ -8678,7 +8678,7 @@ mob_db: ( Exp: 480 JExp: 18 AttackRange: 1 - Attack: [736, 937] + Attack: [636, 737] Def: 45 Mdef: 80 ViewRange: 16 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