Remix world abyss enemy spawn fixes.

This commit is contained in:
mountaindrew10 committed 2023-06-21 23:03:36 -05:00
1 parent f3704dc10a
commit 053231e23f
16 files changed
+18 -18

No files matched your search

+1 -1
View File
@@ -40,7 +40,7 @@ namespace CalamityMod.BiomeManagers
int abyssStartHeight = Main.remixWorld ? SulphurousSea.YStart : ((SulphurousSea.YStart + (int)Main.worldSurface) / 2 + 90);
if (Main.remixWorld)
return !player.lavaWet && !player.honeyWet && abyssPosX && playerYTileCoords < abyssStartHeight && playerYTileCoords <= Main.maxTilesY - 200;
return !player.lavaWet && !player.honeyWet && abyssPosX && playerYTileCoords < abyssStartHeight;
return !player.lavaWet && !player.honeyWet && abyssPosX && playerYTileCoords >= abyssStartHeight && playerYTileCoords <= Main.maxTilesY - 200;
}
+1 -1
View File
@@ -185,7 +185,7 @@ namespace CalamityMod.NPCs.Abyss
{
if (spawnInfo.Player.Calamity().ZoneAbyssLayer4 && spawnInfo.Water && NPC.CountNPCS(ModContent.NPCType<Bloatfish>()) < 3)
{
return SpawnCondition.CaveJellyfish.Chance * 0.5f;
return Main.remixWorld ? 1.5f : SpawnCondition.CaveJellyfish.Chance * 0.5f;
}
return 0f;
}
+1 -1
View File
@@ -70,7 +70,7 @@ namespace CalamityMod.NPCs.Abyss
if (spawnInfo.Player.Calamity().ZoneAbyssLayer4 && spawnInfo.Water)
{
if (CalamityGlobalNPC.bobbitWormBottom.Contains(-1))
return SpawnCondition.CaveJellyfish.Chance * 0.85f;
return Main.remixWorld ? 2.75f : SpawnCondition.CaveJellyfish.Chance * 0.85f;
}
return 0f;
}
+1 -1
View File
@@ -231,7 +231,7 @@ namespace CalamityMod.NPCs.Abyss
{
if (spawnInfo.Player.Calamity().ZoneAbyssLayer3 && spawnInfo.Water)
{
return SpawnCondition.CaveJellyfish.Chance * 0.6f;
return Main.remixWorld ? 1.8f : SpawnCondition.CaveJellyfish.Chance * 0.6f;
}
return 0f;
}
+1 -1
View File
@@ -589,7 +589,7 @@ namespace CalamityMod.NPCs.Abyss
{
if ((spawnInfo.Player.Calamity().ZoneAbyssLayer3 || spawnInfo.Player.Calamity().ZoneAbyssLayer4) && spawnInfo.Water && !NPC.AnyNPCs(ModContent.NPCType<ColossalSquid>()))
{
return SpawnCondition.CaveJellyfish.Chance * 0.6f;
return Main.remixWorld ? 1.8f : SpawnCondition.CaveJellyfish.Chance * 0.6f;
}
return 0f;
}
+1 -1
View File
@@ -302,7 +302,7 @@ namespace CalamityMod.NPCs.Abyss
{
if (spawnInfo.Player.Calamity().ZoneAbyssLayer3 && spawnInfo.Water)
{
return SpawnCondition.CaveJellyfish.Chance * 0.55f;
return Main.remixWorld ? 1.65f : SpawnCondition.CaveJellyfish.Chance * 0.55f;
}
return 0f;
}
+1 -1
View File
@@ -297,7 +297,7 @@ namespace CalamityMod.NPCs.Abyss
{
if (spawnInfo.Player.Calamity().ZoneAbyssLayer3 && spawnInfo.Water)
{
return SpawnCondition.CaveJellyfish.Chance * 0.55f;
return Main.remixWorld ? 1.65f : SpawnCondition.CaveJellyfish.Chance * 0.55f;
}
return 0f;
}
+1 -1
View File
@@ -437,7 +437,7 @@ namespace CalamityMod.NPCs.Abyss
{
if (spawnInfo.Player.Calamity().ZoneAbyssLayer4 && spawnInfo.Water && !NPC.AnyNPCs(ModContent.NPCType<EidolonWyrmHead>()))
{
return SpawnCondition.CaveJellyfish.Chance * 0.6f;
return Main.remixWorld ? 1.8f : SpawnCondition.CaveJellyfish.Chance * 0.6f;
}
return 0f;
}
+1 -1
View File
@@ -225,7 +225,7 @@ namespace CalamityMod.NPCs.Abyss
{
if (spawnInfo.Player.Calamity().ZoneAbyssLayer3 && spawnInfo.Water)
{
return SpawnCondition.CaveJellyfish.Chance * 1.2f;
return Main.remixWorld ? 3.6f : SpawnCondition.CaveJellyfish.Chance * 1.2f;
}
return 0f;
}
+2 -2
View File
@@ -359,11 +359,11 @@ namespace CalamityMod.NPCs.Abyss
{
if (spawnInfo.Player.Calamity().ZoneAbyssLayer3 && spawnInfo.Water && !NPC.AnyNPCs(ModContent.NPCType<GulperEelHead>()))
{
return SpawnCondition.CaveJellyfish.Chance * 0.3f;
return Main.remixWorld ? 0.9f : SpawnCondition.CaveJellyfish.Chance * 0.3f;
}
if (spawnInfo.Player.Calamity().ZoneAbyssLayer4 && spawnInfo.Water && !NPC.AnyNPCs(ModContent.NPCType<GulperEelHead>()))
{
return SpawnCondition.CaveJellyfish.Chance * 0.6f;
return Main.remixWorld ? 1.8f : SpawnCondition.CaveJellyfish.Chance * 0.6f;
}
return 0f;
}
+1 -1
View File
@@ -114,7 +114,7 @@ namespace CalamityMod.NPCs.Abyss
}
if (spawnInfo.Player.Calamity().ZoneAbyssLayer3 && spawnInfo.Water)
{
return SpawnCondition.CaveJellyfish.Chance * 1.2f;
return Main.remixWorld ? 3.6f : SpawnCondition.CaveJellyfish.Chance * 1.2f;
}
return 0f;
}
+1 -1
View File
@@ -211,7 +211,7 @@ namespace CalamityMod.NPCs.Abyss
{
if (spawnInfo.Player.Calamity().ZoneAbyssLayer3 && spawnInfo.Water)
{
return SpawnCondition.CaveJellyfish.Chance * 0.6f;
return Main.remixWorld ? 1.8f : SpawnCondition.CaveJellyfish.Chance * 0.6f;
}
return 0f;
}
+1 -1
View File
@@ -325,7 +325,7 @@ namespace CalamityMod.NPCs.Abyss
}
if (spawnInfo.Player.Calamity().ZoneAbyssLayer3 && spawnInfo.Water && !NPC.AnyNPCs(ModContent.NPCType<OarfishHead>()))
{
return SpawnCondition.CaveJellyfish.Chance * 0.6f;
return Main.remixWorld ? 1.8f : SpawnCondition.CaveJellyfish.Chance * 0.6f;
}
return 0f;
}
+1 -1
View File
@@ -656,7 +656,7 @@ namespace CalamityMod.NPCs.Abyss
{
if (spawnInfo.Player.Calamity().ZoneAbyssLayer4 && spawnInfo.Water && !NPC.AnyNPCs(ModContent.NPCType<ReaperShark>()))
{
return SpawnCondition.CaveJellyfish.Chance * 1.2f;
return Main.remixWorld ? 3.6f : SpawnCondition.CaveJellyfish.Chance * 1.2f;
}
return 0f;
}
+1 -1
View File
@@ -140,7 +140,7 @@ namespace CalamityMod.NPCs.Abyss
}
if (spawnInfo.Player.Calamity().ZoneAbyssLayer3 && spawnInfo.Water)
{
return SpawnCondition.CaveJellyfish.Chance * 1.5f;
return Main.remixWorld ? 4.5f : SpawnCondition.CaveJellyfish.Chance * 1.5f;
}
return 0f;
}
+2 -2
View File
@@ -318,11 +318,11 @@ namespace CalamityMod.NPCs.NormalNPCs
}
if (spawnInfo.Player.Calamity().ZoneAbyssLayer3 && spawnInfo.Water)
{
return 0.25f;
return Main.remixWorld ? 0.75f : 0.25f;
}
if (spawnInfo.Player.Calamity().ZoneAbyssLayer4 && spawnInfo.Water)
{
return 0.5f;
return Main.remixWorld ? 1.5f : 0.5f;
}
return 0f;
}