summaryrefslogtreecommitdiff
path: root/world/map/npc/027-8
diff options
context:
space:
mode:
authorwushin <pasekei@gmail.com>2015-02-16 21:00:21 -0600
committerwushin <pasekei@gmail.com>2015-02-19 23:02:12 -0600
commit9a0b536324d87107a6ca31f47facb804d70c0d30 (patch)
treec233699e692bfb0d71d2838b06d23ed8ad28dfd8 /world/map/npc/027-8
parentd64e30a251b85ea68fcc955427856bdd4824bf33 (diff)
downloadserverdata-9a0b536324d87107a6ca31f47facb804d70c0d30.tar.gz
serverdata-9a0b536324d87107a6ca31f47facb804d70c0d30.tar.bz2
serverdata-9a0b536324d87107a6ca31f47facb804d70c0d30.tar.xz
serverdata-9a0b536324d87107a6ca31f47facb804d70c0d30.zip
Clean up script
Diffstat (limited to 'world/map/npc/027-8')
-rw-r--r--world/map/npc/027-8/general_terogan.txt6
1 files changed, 3 insertions, 3 deletions
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;