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

◆ CheckBossIndexes()

static void Terraria.Main.CheckBossIndexes ( )
inlinestaticprivate

Definition at line 17565 of file Main.cs.

17566 {
17568 {
17569 wofNPCIndex = -1;
17570 }
17571 if (!IsNPCActiveAndOneOfTypes(NPC.golemBoss, 245))
17572 {
17573 NPC.golemBoss = -1;
17574 }
17575 if (!IsNPCActiveAndOneOfTypes(NPC.deerclopsBoss, 668))
17576 {
17577 NPC.deerclopsBoss = -1;
17578 }
17579 if (!IsNPCActiveAndOneOfTypes(NPC.plantBoss, 262))
17580 {
17581 NPC.plantBoss = -1;
17582 }
17583 if (!IsNPCActiveAndOneOfTypes(NPC.crimsonBoss, 266))
17584 {
17585 NPC.crimsonBoss = -1;
17586 }
17587 }
static int wofNPCIndex
Definition Main.cs:897
static bool IsNPCActiveAndOneOfTypes(int npcIndex, params int[] types)
Definition Main.cs:17589

References Terraria.NPC.crimsonBoss, Terraria.NPC.deerclopsBoss, Terraria.NPC.golemBoss, Terraria.Main.IsNPCActiveAndOneOfTypes(), Terraria.NPC.plantBoss, and Terraria.Main.wofNPCIndex.

Referenced by Terraria.Main.DoUpdateInWorld().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: