diff options
Diffstat (limited to 'world/map/npc/027-6/general_krukan.txt')
-rw-r--r-- | world/map/npc/027-6/general_krukan.txt | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/world/map/npc/027-6/general_krukan.txt b/world/map/npc/027-6/general_krukan.txt index 2ac4a018..637befc8 100644 --- a/world/map/npc/027-6/general_krukan.txt +++ b/world/map/npc/027-6/general_krukan.txt @@ -2,7 +2,7 @@ // Based off Cindy Fight // General Krukan Fight -027-6.gat,39,25,0|script|General Krukan|400 +027-6,39,25,0|script|General Krukan|400 { if ($@CRYPT_FIGHT1 != 0) end; @@ -57,9 +57,9 @@ L_Ritual: set $@CRYPT_FIGHT1, 1; set $@CRYPT_FIGHT1_WAVE, 0; set $@CRYPT_FIGHT1_SUMMONS_COUNT, 2; - set $@CRYPT_FIGHT1_PLAYER_COUNT, getmapusers("027-6.gat"); - areamonster "027-6.gat", 0, 0, 79, 84, "", 1043, 1, "General Krukan::OnPetDeath"; - areamonster "027-6.gat", 0, 0, 79, 84, "", 1044, 1, "General Krukan::OnPetDeath"; + set $@CRYPT_FIGHT1_PLAYER_COUNT, getmapusers("027-6"); + areamonster "027-6", 0, 0, 79, 84, "", 1043, 1, "General Krukan::OnPetDeath"; + areamonster "027-6", 0, 0, 79, 84, "", 1044, 1, "General Krukan::OnPetDeath"; initnpctimer; goto L_Announce; @@ -86,7 +86,7 @@ OnTimer5000: L_Return_1: set $@CRYPT_FIGHT1_PLAYER_COUNT, 0; - areatimer "027-6.gat", 0, 0, 79, 84, 10, "General Krukan::OnTick"; + areatimer "027-6", 0, 0, 79, 84, 10, "General Krukan::OnTick"; end; L_CryptLogic: @@ -96,7 +96,7 @@ L_CryptLogic: if ($@CRYPT_FIGHT1_PLAYER_COUNT <= 0) goto L_CleanUpLosers; set $@CRYPT_FIGHT1_SUMMONS_ROUND_TIMER, $@CRYPT_FIGHT1_SUMMONS_ROUND_TIMER + 5; // Advance 5 seconds - if (mobcount("027-6.gat", "General Krukan::OnPetDeath") < 0) + if (mobcount("027-6", "General Krukan::OnPetDeath") < 0) goto L_NextWave; if ($@CRYPT_FIGHT1_SUMMONS_ROUND_TIMER + $@CRYPT_FIGHT1_ROUND_PEN >= 120) goto L_NextWave; @@ -121,31 +121,31 @@ L_NextWave: L_SummonNuke: set $@CRYPT_FIGHT1_SUMMONS_COUNT, $@CRYPT_FIGHT1_SUMMONS_COUNT + $@CRYPT_FIGHT1_WAVE*2 + $@CRYPT_FIGHT1_PLAYER_COUNT*4; - areamonster "027-6.gat", 0, 0, 79, 84, "", 1043, $@CRYPT_FIGHT1_WAVE*2 + $@CRYPT_FIGHT1_PLAYER_COUNT*4, "General Krukan::OnPetDeath"; + areamonster "027-6", 0, 0, 79, 84, "", 1043, $@CRYPT_FIGHT1_WAVE*2 + $@CRYPT_FIGHT1_PLAYER_COUNT*4, "General Krukan::OnPetDeath"; goto L_Announce; L_WeakSummons: set $@CRYPT_FIGHT1_SUMMONS_NUMBER, (5 + (1 * $@CRYPT_FIGHT1_WAVE) + (2 * $@CRYPT_FIGHT1_PLAYER_COUNT))/2; set $@CRYPT_FIGHT1_SUMMONS_COUNT, $@CRYPT_FIGHT1_SUMMONS_COUNT + ($@CRYPT_FIGHT1_SUMMONS_NUMBER/2) + ($@CRYPT_FIGHT1_SUMMONS_NUMBER/2); - areamonster "027-6.gat", 0, 0, 79, 84, "", 1043, ($@CRYPT_FIGHT1_SUMMONS_NUMBER/2), "General Krukan::OnPetDeath"; - areamonster "027-6.gat", 0, 0, 79, 84, "", 1044, ($@CRYPT_FIGHT1_SUMMONS_NUMBER/2), "General Krukan::OnPetDeath"; + areamonster "027-6", 0, 0, 79, 84, "", 1043, ($@CRYPT_FIGHT1_SUMMONS_NUMBER/2), "General Krukan::OnPetDeath"; + areamonster "027-6", 0, 0, 79, 84, "", 1044, ($@CRYPT_FIGHT1_SUMMONS_NUMBER/2), "General Krukan::OnPetDeath"; goto L_Announce; L_StrongSummons: set $@CRYPT_FIGHT1_SUMMONS_NUMBER, (5 + (1 * $@CRYPT_FIGHT1_WAVE) + (2 * $@CRYPT_FIGHT1_PLAYER_COUNT))/2; set $@CRYPT_FIGHT1_SUMMONS_COUNT, $@CRYPT_FIGHT1_SUMMONS_COUNT + ($@CRYPT_FIGHT1_SUMMONS_NUMBER/2) + ($@CRYPT_FIGHT1_SUMMONS_NUMBER/2); - areamonster "027-6.gat", 0, 0, 79, 84, "", 1036, ($@CRYPT_FIGHT1_SUMMONS_NUMBER/2), "General Krukan::OnPetDeath"; - areamonster "027-6.gat", 0, 0, 79, 84, "", 1045, ($@CRYPT_FIGHT1_SUMMONS_NUMBER/2), "General Krukan::OnPetDeath"; + areamonster "027-6", 0, 0, 79, 84, "", 1036, ($@CRYPT_FIGHT1_SUMMONS_NUMBER/2), "General Krukan::OnPetDeath"; + areamonster "027-6", 0, 0, 79, 84, "", 1045, ($@CRYPT_FIGHT1_SUMMONS_NUMBER/2), "General Krukan::OnPetDeath"; goto L_Announce; L_BossSummons: set $@CRYPT_FIGHT1_SUMMONS_NUMBER, (5 + (1 * $@CRYPT_FIGHT1_WAVE) + (2 * $@CRYPT_FIGHT1_PLAYER_COUNT))/2; set $@CRYPT_FIGHT1_SUMMONS_COUNT, $@CRYPT_FIGHT1_SUMMONS_COUNT + ($@CRYPT_FIGHT1_SUMMONS_NUMBER/2) + ($@CRYPT_FIGHT1_SUMMONS_NUMBER/2); - areamonster "027-6.gat", 0, 0, 79, 84, "", 1036, ($@CRYPT_FIGHT1_SUMMONS_NUMBER/2), "General Krukan::OnPetDeath"; - areamonster "027-6.gat", 0, 0, 79, 84, "", 1045, ($@CRYPT_FIGHT1_SUMMONS_NUMBER/2), "General Krukan::OnPetDeath"; - areamonster "027-6.gat", 0, 0, 79, 84, "", 1127, 1, "General Krukan::OnPetDeath"; + areamonster "027-6", 0, 0, 79, 84, "", 1036, ($@CRYPT_FIGHT1_SUMMONS_NUMBER/2), "General Krukan::OnPetDeath"; + areamonster "027-6", 0, 0, 79, 84, "", 1045, ($@CRYPT_FIGHT1_SUMMONS_NUMBER/2), "General Krukan::OnPetDeath"; + areamonster "027-6", 0, 0, 79, 84, "", 1127, 1, "General Krukan::OnPetDeath"; set $@CRYPT_FIGHT1_SUMMONS_COUNT, $@CRYPT_FIGHT1_SUMMONS_COUNT + 1; goto L_Announce; @@ -153,8 +153,8 @@ L_Announce: set $@msg$, $@CRYPT_FIGHT1_MESSAGES$[$@CRYPT_FIGHT1_WAVE]; if ($@msg$ == "") goto L_Return_1; - mapannounce "027-6.gat", $@msg$, 0; - mapannounce "027-3.gat", $@msg$, 0; + mapannounce "027-6", $@msg$, 0; + mapannounce "027-3", $@msg$, 0; set $@msg$, ""; goto L_Return_1; @@ -176,13 +176,13 @@ L_CleanUpLosers: set $@CRYPT_FIGHT1_SUMMONS_COUNT, 0; set $@CRYPT_FIGHT1_ROUND_PEN, 0; set $@CRYPT_FIGHT1_SUMMONS_NUMBER, 0; - killmonster "027-6.gat", "General Krukan::OnPetDeath"; + killmonster "027-6", "General Krukan::OnPetDeath"; stopnpctimer; setnpctimer 0; end; L_CleanUp: - areatimer "027-6.gat", 0, 0, 79, 84, 10, "General Krukan::OnReward"; + areatimer "027-6", 0, 0, 79, 84, 10, "General Krukan::OnReward"; set $@CRYPT_FIGHT1, 0; set $@CRYPT_FIGHT1_PLAYER_COUNT, 0; set $@CRYPT_FIGHT1_WAVE, 0; @@ -190,7 +190,7 @@ L_CleanUp: set $@CRYPT_FIGHT1_SUMMONS_COUNT, 0; set $@CRYPT_FIGHT1_ROUND_PEN, 0; set $@CRYPT_FIGHT1_SUMMONS_NUMBER, 0; - killmonster "027-6.gat", "General Krukan::OnPetDeath"; + killmonster "027-6", "General Krukan::OnPetDeath"; stopnpctimer; setnpctimer 0; end; |