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

◆ KillWall_CheckFailure()

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

Definition at line 51230 of file WorldGen.cs.

51231 {
51232 if (Main.wallDungeon[tileCache.wall] && !NPC.downedBoss3)
51233 {
51234 fail = true;
51235 }
51236 if (tileCache.wall == 87 && !NPC.downedGolemBoss)
51237 {
51238 fail = true;
51239 }
51240 return fail;
51241 }

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