From 0891970aaf34348433ffe86b951f4403ac22dd9c Mon Sep 17 00:00:00 2001 From: Chuck Miller Date: Fri, 23 Jul 2010 15:27:36 -0400 Subject: Disable the timer while the game is not running --- npc/029-3_Fight_Cave/parua.txt | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'npc/029-3_Fight_Cave/parua.txt') diff --git a/npc/029-3_Fight_Cave/parua.txt b/npc/029-3_Fight_Cave/parua.txt index acad6461..012ffb62 100644 --- a/npc/029-3_Fight_Cave/parua.txt +++ b/npc/029-3_Fight_Cave/parua.txt @@ -21,8 +21,9 @@ set zeny, zeny - 20000; npctalk "Let the battle begin!"; set $@FIGHT_CAVE_STATUS, 1; - set $@FIGHT_CAVE_LEVEL, 0; + set $@FIGHT_CAVE_LEVEL, 1; set $@FIGHT_CAVE_PLAYER_COUNT, getareausers("029-3.gat", 20, 20, 70, 60); + startnpctimer; goto L_Exit; L_Enjoy: @@ -137,7 +138,7 @@ onPetDeath: onInit: initnpctimer; - startnpctimer; + stopnpctimer; L_CleanUp: npctalk "Game Over"; mapannounce "029-1.gat", "Parua: The dungeon is now ready for its next victims.", 0; @@ -146,6 +147,8 @@ L_CleanUp: set $@FIGHT_CAVE_LEVEL, 1; set $@FIGHT_CAVE_ROUND_TIMER, 0; killmonster "029-3.gat", "Parua::onPetDeath"; + stopnpctimer; + setnpctimer 0; end; } -- cgit v1.2.3-60-g2f50