diff options
Diffstat (limited to 'npc/027-7')
-rw-r--r-- | npc/027-7/general_razha.txt | 68 |
1 files changed, 34 insertions, 34 deletions
diff --git a/npc/027-7/general_razha.txt b/npc/027-7/general_razha.txt index 5eb32bc2..ceb024b0 100644 --- a/npc/027-7/general_razha.txt +++ b/npc/027-7/general_razha.txt @@ -52,8 +52,8 @@ L_Ritual: // initialize fight $@CRYPT_FIGHT2 = 1; $@CRYPT_FIGHT2_WAVE = 0; - $@CRYPT_FIGHT2_SUMMONS_COUNT = 2; - $@CRYPT_FIGHT2_PLAYER_COUNT = getmapusers("027-7"); + $@CRYPT_FIGHT2_MOBS_COUNT = 2; + $@CRYPT_FIGHT2_PC = getmapusers("027-7"); areamonster "027-7", 0, 0, 79, 84, "", 1036, 1, "General Razha::OnPetDeath"; areamonster "027-7", 0, 0, 79, 84, "", 1124, 1, "General Razha::OnPetDeath"; @@ -80,27 +80,27 @@ OnTimer5000: goto L_Return_1; L_Return_1: - $@CRYPT_FIGHT2_PLAYER_COUNT = 0; + $@CRYPT_FIGHT2_PC = 0; areatimer 0, "027-7", 0, 0, 79, 84, 10, "General Razha::OnTick"; end; L_CryptLogic: - $@CRYPT_FIGHT2_ROUND_PEN = $@CRYPT_FIGHT2_PLAYER_COUNT; + $@CRYPT_FIGHT2_ROUND_PEN = $@CRYPT_FIGHT2_PC; if ($@CRYPT_FIGHT2_ROUND_PEN > 60) $@CRYPT_FIGHT2_ROUND_PEN = 60; - if ($@CRYPT_FIGHT2_PLAYER_COUNT <= 0) + if ($@CRYPT_FIGHT2_PC <= 0) goto L_CleanUpLosers; - set $@CRYPT_FIGHT2_SUMMONS_ROUND_TIMER, $@CRYPT_FIGHT2_SUMMONS_ROUND_TIMER + 5; // Advance 5 seconds + set $@CRYPT_FIGHT2_ROUND_TIMER, $@CRYPT_FIGHT2_ROUND_TIMER + 5; // Advance 5 seconds if (mobcount("027-7", "General Razha::OnPetDeath") <= 0) goto L_NextWave; - if ($@CRYPT_FIGHT2_SUMMONS_ROUND_TIMER + $@CRYPT_FIGHT2_ROUND_PEN >= 120) + if ($@CRYPT_FIGHT2_ROUND_TIMER + $@CRYPT_FIGHT2_ROUND_PEN >= 120) goto L_NextWave; goto L_Return_1; L_NextWave: - $@CRYPT_FIGHT2_SUMMONS_ROUND_TIMER = 0; + $@CRYPT_FIGHT2_ROUND_TIMER = 0; $@CRYPT_FIGHT2_WAVE = $@CRYPT_FIGHT2_WAVE + 1; - if ( ($@CRYPT_FIGHT2_WAVE > 10) && ($@CRYPT_FIGHT2_SUMMONS_COUNT == 0) ) + if ( ($@CRYPT_FIGHT2_WAVE > 10) && ($@CRYPT_FIGHT2_MOBS_COUNT == 0) ) goto L_CleanUp; if ( ($@CRYPT_FIGHT2_WAVE > 10) && ($@CRYPT_FIGHT2_WAVE < 22) ) goto L_Return_1; @@ -115,33 +115,33 @@ L_NextWave: goto L_SummonNuke; L_SummonNuke: - $@CRYPT_FIGHT2_SUMMONS_COUNT = $@CRYPT_FIGHT2_SUMMONS_COUNT + $@CRYPT_FIGHT2_WAVE*2 + $@CRYPT_FIGHT2_PLAYER_COUNT*4; - areamonster "027-7", 0, 0, 79, 84, "", 1036, $@CRYPT_FIGHT2_WAVE*2 + $@CRYPT_FIGHT2_PLAYER_COUNT*4, "General Razha::OnPetDeath"; + $@CRYPT_FIGHT2_MOBS_COUNT = $@CRYPT_FIGHT2_MOBS_COUNT + $@CRYPT_FIGHT2_WAVE*2 + $@CRYPT_FIGHT2_PC*4; + areamonster "027-7", 0, 0, 79, 84, "", 1036, $@CRYPT_FIGHT2_WAVE*2 + $@CRYPT_FIGHT2_PC*4, "General Razha::OnPetDeath"; goto L_Announce; L_WeakSummons: - $@CRYPT_FIGHT2_SUMMONS_NUMBER = (5 + (1 * $@CRYPT_FIGHT2_WAVE) + (2 * $@CRYPT_FIGHT2_PLAYER_COUNT))/2; - $@CRYPT_FIGHT2_SUMMONS_COUNT = $@CRYPT_FIGHT2_SUMMONS_COUNT + ($@CRYPT_FIGHT2_SUMMONS_NUMBER/2) + ($@CRYPT_FIGHT2_SUMMONS_NUMBER/2); + $@CRYPT_FIGHT2_MOBS_NUMBER = (5 + (1 * $@CRYPT_FIGHT2_WAVE) + (2 * $@CRYPT_FIGHT2_PC))/2; + $@CRYPT_FIGHT2_MOBS_COUNT = $@CRYPT_FIGHT2_MOBS_COUNT + ($@CRYPT_FIGHT2_MOBS_NUMBER/2) + ($@CRYPT_FIGHT2_MOBS_NUMBER/2); - areamonster "027-7", 0, 0, 79, 84, "", 1036, ($@CRYPT_FIGHT2_SUMMONS_NUMBER/2), "General Razha::OnPetDeath"; - areamonster "027-7", 0, 0, 79, 84, "", 1045, ($@CRYPT_FIGHT2_SUMMONS_NUMBER/2), "General Razha::OnPetDeath"; + areamonster "027-7", 0, 0, 79, 84, "", 1036, ($@CRYPT_FIGHT2_MOBS_NUMBER/2), "General Razha::OnPetDeath"; + areamonster "027-7", 0, 0, 79, 84, "", 1045, ($@CRYPT_FIGHT2_MOBS_NUMBER/2), "General Razha::OnPetDeath"; goto L_Announce; L_StrongSummons: - $@CRYPT_FIGHT2_SUMMONS_NUMBER = (5 + (1 * $@CRYPT_FIGHT2_WAVE) + (2 * $@CRYPT_FIGHT2_PLAYER_COUNT))/2; - $@CRYPT_FIGHT2_SUMMONS_COUNT = $@CRYPT_FIGHT2_SUMMONS_COUNT + ($@CRYPT_FIGHT2_SUMMONS_NUMBER/2) + ($@CRYPT_FIGHT2_SUMMONS_NUMBER/2); + $@CRYPT_FIGHT2_MOBS_NUMBER = (5 + (1 * $@CRYPT_FIGHT2_WAVE) + (2 * $@CRYPT_FIGHT2_PC))/2; + $@CRYPT_FIGHT2_MOBS_COUNT = $@CRYPT_FIGHT2_MOBS_COUNT + ($@CRYPT_FIGHT2_MOBS_NUMBER/2) + ($@CRYPT_FIGHT2_MOBS_NUMBER/2); - areamonster "027-7", 0, 0, 79, 84, "", 1036, ($@CRYPT_FIGHT2_SUMMONS_NUMBER/2), "General Razha::OnPetDeath"; - areamonster "027-7", 0, 0, 79, 84, "", 1124, ($@CRYPT_FIGHT2_SUMMONS_NUMBER/2), "General Razha::OnPetDeath"; + areamonster "027-7", 0, 0, 79, 84, "", 1036, ($@CRYPT_FIGHT2_MOBS_NUMBER/2), "General Razha::OnPetDeath"; + areamonster "027-7", 0, 0, 79, 84, "", 1124, ($@CRYPT_FIGHT2_MOBS_NUMBER/2), "General Razha::OnPetDeath"; goto L_Announce; L_BossSummons: - $@CRYPT_FIGHT2_SUMMONS_NUMBER = (5 + (1 * $@CRYPT_FIGHT2_WAVE) + (2 * $@CRYPT_FIGHT2_PLAYER_COUNT))/2; - $@CRYPT_FIGHT2_SUMMONS_COUNT = $@CRYPT_FIGHT2_SUMMONS_COUNT + ($@CRYPT_FIGHT2_SUMMONS_NUMBER/2) + ($@CRYPT_FIGHT2_SUMMONS_NUMBER/2); - areamonster "027-7", 0, 0, 79, 84, "", 1036, ($@CRYPT_FIGHT2_SUMMONS_NUMBER/2), "General Razha::OnPetDeath"; - areamonster "027-7", 0, 0, 79, 84, "", 1124, ($@CRYPT_FIGHT2_SUMMONS_NUMBER/2), "General Razha::OnPetDeath"; + $@CRYPT_FIGHT2_MOBS_NUMBER = (5 + (1 * $@CRYPT_FIGHT2_WAVE) + (2 * $@CRYPT_FIGHT2_PC))/2; + $@CRYPT_FIGHT2_MOBS_COUNT = $@CRYPT_FIGHT2_MOBS_COUNT + ($@CRYPT_FIGHT2_MOBS_NUMBER/2) + ($@CRYPT_FIGHT2_MOBS_NUMBER/2); + areamonster "027-7", 0, 0, 79, 84, "", 1036, ($@CRYPT_FIGHT2_MOBS_NUMBER/2), "General Razha::OnPetDeath"; + areamonster "027-7", 0, 0, 79, 84, "", 1124, ($@CRYPT_FIGHT2_MOBS_NUMBER/2), "General Razha::OnPetDeath"; areamonster "027-7", 0, 0, 79, 84, "", 1128, 1, "General Razha::OnPetDeath"; - $@CRYPT_FIGHT2_SUMMONS_COUNT = $@CRYPT_FIGHT2_SUMMONS_COUNT + 1; + $@CRYPT_FIGHT2_MOBS_COUNT = $@CRYPT_FIGHT2_MOBS_COUNT + 1; goto L_Announce; L_Announce: @@ -155,23 +155,23 @@ L_Announce: OnTick: if (ispcdead()) end; - $@CRYPT_FIGHT2_PLAYER_COUNT = $@CRYPT_FIGHT2_PLAYER_COUNT + 1; + $@CRYPT_FIGHT2_PC = $@CRYPT_FIGHT2_PC + 1; end; OnPetDeath: - $@CRYPT_FIGHT2_SUMMONS_COUNT = $@CRYPT_FIGHT2_SUMMONS_COUNT - 1; + $@CRYPT_FIGHT2_MOBS_COUNT = $@CRYPT_FIGHT2_MOBS_COUNT - 1; end; L_CleanUpLosers: mapannounce "027-7", "General Razha : Oh where did you all go, I was beginning to have fun here.", 0; mapannounce "027-4", "The battle is lost.", 0; $@CRYPT_FIGHT2 = 0; - $@CRYPT_FIGHT2_PLAYER_COUNT = 0; + $@CRYPT_FIGHT2_PC = 0; $@CRYPT_FIGHT2_WAVE = 0; - $@CRYPT_FIGHT2_SUMMONS_ROUND_TIMER = 0; - $@CRYPT_FIGHT2_SUMMONS_COUNT = 0; + $@CRYPT_FIGHT2_ROUND_TIMER = 0; + $@CRYPT_FIGHT2_MOBS_COUNT = 0; $@CRYPT_FIGHT2_ROUND_PEN = 0; - $@CRYPT_FIGHT2_SUMMONS_NUMBER = 0; + $@CRYPT_FIGHT2_MOBS_NUMBER = 0; killmonster "027-7", "General Razha::OnPetDeath"; stopnpctimer; setnpctimer 0; @@ -182,12 +182,12 @@ L_CleanUp: mapannounce "027-4", "General Razha is defeated.", 0; areatimer 0, "027-7", 0, 0, 79, 84, 10, "General Razha::OnReward"; $@CRYPT_FIGHT2 = 0; - $@CRYPT_FIGHT2_PLAYER_COUNT = 0; + $@CRYPT_FIGHT2_PC = 0; $@CRYPT_FIGHT2_WAVE = 0; - $@CRYPT_FIGHT2_SUMMONS_ROUND_TIMER = 0; - $@CRYPT_FIGHT2_SUMMONS_COUNT = 0; + $@CRYPT_FIGHT2_ROUND_TIMER = 0; + $@CRYPT_FIGHT2_MOBS_COUNT = 0; $@CRYPT_FIGHT2_ROUND_PEN = 0; - $@CRYPT_FIGHT2_SUMMONS_NUMBER = 0; + $@CRYPT_FIGHT2_MOBS_NUMBER = 0; killmonster "027-7", "General Razha::OnPetDeath"; stopnpctimer; setnpctimer 0; |