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 /npc/023-3-1/logic.txt | |
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
Diffstat (limited to 'npc/023-3-1/logic.txt')
-rw-r--r-- | npc/023-3-1/logic.txt | 6 |
1 files changed, 5 insertions, 1 deletions
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; } |