Slightly more lenient dungeon guardian spawns for Drunk World
This commit is contained in:
1 parent
9f2d177834
commit
77c0cd5c2d
1 file changed
+5
-1
@@ -405,7 +405,11 @@ namespace CalamityMod.Systems
|
||||
#region Handle Dungeon Guardian Spawns
|
||||
public static void TrySpawnDungeonGuardian(Player player)
|
||||
{
|
||||
if (Main.netMode == NetmodeID.MultiplayerClient || !player.ZoneDungeon || NPC.downedBoss3 || player.dead)
|
||||
bool dontSpawn = NPC.downedBoss3;
|
||||
if (!Main.drunkWorld || player.position.Y / 16f >= (float)(Main.dungeonY + 40))
|
||||
dontSpawn = false;
|
||||
|
||||
if (Main.netMode == NetmodeID.MultiplayerClient || !player.ZoneDungeon || dontSpawn || player.dead)
|
||||
return;
|
||||
|
||||
if (!NPC.AnyNPCs(NPCID.DungeonGuardian))
|
||||
|
||||
Reference in new issue
Block a user