|
TModLoader v1.4.4.9
TModLoader source code documentation
|
|
static |
If true, this NPC type (F:Terraria.NPC.type) will be immune to all debuffs except tag debuffs (F:Terraria.ID.BuffID.Sets.IsATagBuff) by default.
Use this for NPCs that can be attacked that should be immune to all normal debuffs. Tag debuffs are special debuffs that facilitate combat mechanics, such as the "summon tag damage" applied by whip weapons. Wraith, Reaper, Lunatic Cultist, the Celestial Pillars, The Destroyer, and the Martian Saucer Turret/Cannon/Core are examples of NPCs that use this setting.
Modders can specify specific buffs to be vulnerable to by assigning F:Terraria.ID.NPCID.Sets.SpecificDebuffImmunity to false.
Definition at line 675 of file NPCID.cs.
Referenced by Terraria.ID.NPCID.Sets.Sets(), and Terraria.NPC.SetDefaults().