Death Mode Blood Moon spawn rate boost only applies on the surface

This commit is contained in:
CongratsIsTrash committed 2025-11-13 23:49:47 -05:00
1 parent 911fdcb1d5
commit 7dffc69f81
1 file changed
+1 -1
+1 -1
View File
@@ -5847,7 +5847,7 @@ namespace CalamityMod.NPCs
maxSpawns = (int)(maxSpawns * 1.5f);
}
if (CalamityWorld.death && Main.bloodMoon)
if (CalamityWorld.death && Main.bloodMoon && player.position.Y < Main.worldSurface * 16.0)
{
spawnRate = (int)(spawnRate * 0.25);
maxSpawns = (int)(maxSpawns * 5f);