diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-06-18 13:21:13 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-06-18 13:21:13 -0300 |
commit | d7bd83f00ab64b1f9614cafed3bc1938fa03f554 (patch) | |
tree | 7f494204a80fd7de0c4c196ad66f061b240f3128 | |
parent | bd5da08fee41669f48165767540479987acbc6bf (diff) | |
download | serverdata-d7bd83f00ab64b1f9614cafed3bc1938fa03f554.tar.gz serverdata-d7bd83f00ab64b1f9614cafed3bc1938fa03f554.tar.bz2 serverdata-d7bd83f00ab64b1f9614cafed3bc1938fa03f554.tar.xz serverdata-d7bd83f00ab64b1f9614cafed3bc1938fa03f554.zip |
Attach npc timer, lower Ninja's damage in 100 points
-rw-r--r-- | db/re/mob_db.conf | 2 | ||||
-rw-r--r-- | 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; } |