From 9a0b536324d87107a6ca31f47facb804d70c0d30 Mon Sep 17 00:00:00 2001 From: wushin Date: Mon, 16 Feb 2015 21:00:21 -0600 Subject: Clean up script --- world/map/npc/027-8/general_terogan.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'world/map/npc/027-8') diff --git a/world/map/npc/027-8/general_terogan.txt b/world/map/npc/027-8/general_terogan.txt index 1d2b2165..c0adafd1 100644 --- a/world/map/npc/027-8/general_terogan.txt +++ b/world/map/npc/027-8/general_terogan.txt @@ -149,8 +149,8 @@ L_CryptLogic: if ($@CRYPT_FIGHT3_ROUND_PEN > 60) set $@CRYPT_FIGHT3_ROUND_PEN, 60; if ($@CRYPT_FIGHT3_PLAYER_COUNT <= 0) goto L_CleanUpLosers; - if getareausers("027-8", 20, 39, 35, 60, 1) < 1 goto L_Failure; - if getareausers("027-8", 43, 39, 58, 60, 1) < 1 goto L_Failure; + if (getareausers("027-8", 20, 39, 35, 60, 1) < 1) goto L_Failure; + if (getareausers("027-8", 43, 39, 58, 60, 1) < 1) goto L_Failure; set $@CRYPT_FIGHT3_SUMMONS_ROUND_TIMER, $@CRYPT_FIGHT3_SUMMONS_ROUND_TIMER + 5; // Advance 5 seconds if (mobcount("027-8", "General Terogan#Main::OnPetDeath") < 0) goto L_NextWave; @@ -226,7 +226,7 @@ OnPetDeath: end; L_Failure: - if $@CRYPT_FAIL_ANNOUNCED goto L_NextWave; + if ($@CRYPT_FAIL_ANNOUNCED) goto L_NextWave; set $@CRYPT_FAIL_ANNOUNCED, 1; mapannounce "027-8", "Looks like your neighbour team to is finished off, this is your death sentence!", 0; set $@CRYPT_FIGHT3_WAVE, 23; -- cgit v1.2.3-60-g2f50