TModLoader v1.4.4.9
TModLoader source code documentation
Loading...
Searching...
No Matches

◆ KillWall_CheckFailure()

static bool Terraria.WorldGen.KillWall_CheckFailure ( bool fail,
Tile tileCache )
inlinestaticprivate

Definition at line 54740 of file WorldGen.cs.

54741 {
54742 if (Main.wallDungeon[tileCache.wall] && !NPC.downedBoss3)
54743 {
54744 fail = true;
54745 }
54746 if (tileCache.wall == 87 && !NPC.downedGolemBoss)
54747 {
54748 fail = true;
54749 }
54750 return fail;
54751 }

References Terraria.NPC.downedBoss3, Terraria.NPC.downedGolemBoss, Terraria.Tile.wall, and Terraria.Main.wallDungeon.