tModLoader v2024.10
A mod to make and play Terraria mods
|
Unused: Replaced by NPCID.Sets.SpecificDebuffImmunity, NPCID.Sets.ImmuneToAllBuffs , and NPCID.Sets.ImmuneToRegularBuffs
Determines the default debuff immunities of an NPC.
More...
Public Member Functions | |
void | ApplyToNPC (NPC npc) |
Sets up NPC.buffImmune to be immune to the stored buffs. More... | |
Public Attributes | |
bool | ImmuneToAllBuffsThatAreNotWhips |
If true , this NPC type (NPC.type) will be immune to all non-tag debuffs (BuffID.Sets.IsATagBuff). | |
bool | ImmuneToWhips |
If true , this NPC type (NPC.type) will be immune to all tag debuffs (BuffID.Sets.IsATagBuff). | |
int[] | SpecificallyImmuneTo |
This NPC type (NPC.type) will be immune to all BuffIDs in this array. | |
Unused: Replaced by NPCID.Sets.SpecificDebuffImmunity, NPCID.Sets.ImmuneToAllBuffs , and NPCID.Sets.ImmuneToRegularBuffs
Determines the default debuff immunities of an NPC.
void NPCDebuffImmunityData.ApplyToNPC | ( | NPC | npc | ) |
Sets up NPC.buffImmune to be immune to the stored buffs.
npc | The NPC to apply immunities to. |