|
TModLoader v1.4.4.9
TModLoader source code documentation
|
|
getset |
Assign a special boss bar, vanilla or modded. Not used by vanilla.
To assign a modded boss bar, use NPC.BossBar = ModContent.GetInstance<ExampleBossBar>(); where ExampleBossBar is a ModBossBar
To assign a vanilla boss bar for whatever reason, fetch it first through the NPC type using Main.BigBossProgressBar.TryGetSpecialVanillaBossBar
Definition at line 1612 of file NPC.cs.
Referenced by Terraria.ModLoader.BossBarLoader.NpcToBossBar(), and Terraria.NPC.SetDefaults().