summaryrefslogtreecommitdiff
path: root/npc/029-3_Fight_Cave
diff options
context:
space:
mode:
authorChuck Miller <shadowmil@gmail.com>2010-07-23 15:27:36 -0400
committerChuck Miller <shadowmil@gmail.com>2010-07-23 15:29:10 -0400
commit0891970aaf34348433ffe86b951f4403ac22dd9c (patch)
tree399d510252c2aa86a51275d3c3c63024afcd93dc /npc/029-3_Fight_Cave
parenta31296bebd34c405c32dc556b289bc17587d61c9 (diff)
downloadserverdata-0891970aaf34348433ffe86b951f4403ac22dd9c.tar.gz
serverdata-0891970aaf34348433ffe86b951f4403ac22dd9c.tar.bz2
serverdata-0891970aaf34348433ffe86b951f4403ac22dd9c.tar.xz
serverdata-0891970aaf34348433ffe86b951f4403ac22dd9c.zip
Disable the timer while the game is not running
Diffstat (limited to 'npc/029-3_Fight_Cave')
-rw-r--r--npc/029-3_Fight_Cave/parua.txt7
1 files changed, 5 insertions, 2 deletions
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;
}