|
TModLoader v1.4.4.9
TModLoader source code documentation
|
| bool Terraria.NPC.boss |
Set to true if the NPC is a boss. Prevents off-screen despawn. Bosses also need [AutoloadBossHead] annotated on the ModNPC class itself to fully register as a boss.
Definition at line 1141 of file NPC.cs.
Referenced by Terraria.ModLoader.ModNPC.AutoStaticDefaults(), Terraria.GameContent.CoinLossRevengeSystem.CacheEnemy(), Terraria.NPC.CheckActive(), Terraria.NPC.DoDeathEvents(), Terraria.NPC.DoDeathEvents_BeforeLoot(), Terraria.NPC.DropEoWLoot(), Terraria.ID.ContentSamples.GetNPCBestiaryRarityStarsCount(), Terraria.NPC.IsNPCValidForBestiaryKillCredit(), Terraria.NPC.ScaleStats_ApplyExpertTweaks(), Terraria.NPC.SetDefaults(), and Terraria.NPC.SetTargetTrackingValues().