summaryrefslogtreecommitdiff
path: root/world/map/npc/027-8/general_terogan.txt
diff options
context:
space:
mode:
authorWushin <pasekei@gmail.com>2015-02-19 23:12:02 -0600
committerWushin <pasekei@gmail.com>2015-02-19 23:12:02 -0600
commit6b75d81034f0e017f4cec776f3ab00e3e08f7ac4 (patch)
tree2819bd1a3a98a56cfa475da16be443ecaa912228 /world/map/npc/027-8/general_terogan.txt
parent8452669804fc5dfca5a9143a542c11f1e8cc475f (diff)
parentf7f84b8e69075f07fae64cca3da1b1d0a6e98eef (diff)
downloadserverdata-6b75d81034f0e017f4cec776f3ab00e3e08f7ac4.tar.gz
serverdata-6b75d81034f0e017f4cec776f3ab00e3e08f7ac4.tar.bz2
serverdata-6b75d81034f0e017f4cec776f3ab00e3e08f7ac4.tar.xz
serverdata-6b75d81034f0e017f4cec776f3ab00e3e08f7ac4.zip
Merge pull request #281 from wushin/bug-fix
Bug fix
Diffstat (limited to 'world/map/npc/027-8/general_terogan.txt')
-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;