|
TModLoader v1.4.4.9
TModLoader source code documentation
|
|
inline |
Adjusts F:Terraria.NPC.buffImmune to make this NPC immune to the provided buff as well as all other buffs that inherit the immunity of that buff (via F:Terraria.ID.BuffID.Sets.GrantImmunityWith). This method can be followed by M:Terraria.NPC.ClearImmuneToBuffs(System.Boolean@) if the NPC should clear any buff it currently has that it is now immune to.
| buffType |
Definition at line 112675 of file NPC.cs.
References Terraria.ID.BuffID.Sets.GrantImmunityWith.