diff options
Diffstat (limited to 'world/map/npc/027-6')
-rw-r--r-- | world/map/npc/027-6/casket_traps.txt | 14 | ||||
-rw-r--r-- | world/map/npc/027-6/general_krukan.txt | 38 | ||||
-rw-r--r-- | world/map/npc/027-6/general_krukan_exitdoor.txt | 4 | ||||
-rw-r--r-- | world/map/npc/027-6/mapflags.txt | 4 |
4 files changed, 30 insertions, 30 deletions
diff --git a/world/map/npc/027-6/casket_traps.txt b/world/map/npc/027-6/casket_traps.txt index 004fb9a7..aaed6904 100644 --- a/world/map/npc/027-6/casket_traps.txt +++ b/world/map/npc/027-6/casket_traps.txt @@ -1,4 +1,4 @@ -027-6.gat,32,39,0|script|#casket25|35,1,1 +027-6,32,39,0|script|#casket25|35,1,1 { end; @@ -8,7 +8,7 @@ OnTouch: specialeffect 302; end; } -027-6.gat,27,48,0|script|#casket26|35,1,1 +027-6,27,48,0|script|#casket26|35,1,1 { end; @@ -18,7 +18,7 @@ OnTouch: specialeffect 302; end; } -027-6.gat,52,50,0|script|#casket27|35,1,1 +027-6,52,50,0|script|#casket27|35,1,1 { end; @@ -28,7 +28,7 @@ OnTouch: specialeffect 302; end; } -027-6.gat,45,48,0|script|#casket28|35,1,1 +027-6,45,48,0|script|#casket28|35,1,1 { end; @@ -38,7 +38,7 @@ OnTouch: specialeffect 302; end; } -027-6.gat,47,30,0|script|#casket29|35,1,1 +027-6,47,30,0|script|#casket29|35,1,1 { end; @@ -48,7 +48,7 @@ OnTouch: specialeffect 302; end; } -027-6.gat,33,31,0|script|#casket30|35,1,1 +027-6,33,31,0|script|#casket30|35,1,1 { end; @@ -58,7 +58,7 @@ OnTouch: specialeffect 302; end; } -027-6.gat,52,40,0|script|#casket31|35,1,1 +027-6,52,40,0|script|#casket31|35,1,1 { end; 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; diff --git a/world/map/npc/027-6/general_krukan_exitdoor.txt b/world/map/npc/027-6/general_krukan_exitdoor.txt index dee6e896..89d3a6d9 100644 --- a/world/map/npc/027-6/general_krukan_exitdoor.txt +++ b/world/map/npc/027-6/general_krukan_exitdoor.txt @@ -1,11 +1,11 @@ // Mini-Boss // General Krukan exit -027-6.gat,38,61,0|script|#GeneralExit1|35,6,0 +027-6,38,61,0|script|#GeneralExit1|35,6,0 { if ($@CRYPT_FIGHT1 == 1) goto L_Block; - warp "027-3.gat",82,89; + warp "027-3",82,89; end; L_Block: diff --git a/world/map/npc/027-6/mapflags.txt b/world/map/npc/027-6/mapflags.txt index a1404da7..1defed7b 100644 --- a/world/map/npc/027-6/mapflags.txt +++ b/world/map/npc/027-6/mapflags.txt @@ -1,2 +1,2 @@ -027-6.gat|mapflag|nosave|027-3,82,90 -027-6.gat|mapflag|resave|027-3,82,90 +027-6|mapflag|nosave|027-3,82,90 +027-6|mapflag|resave|027-3,82,90 |