TModLoader v1.4.4.9
TModLoader source code documentation
Loading...
Searching...
No Matches

◆ IsATagBuff

bool [] Terraria.ID.BuffID.Sets.IsATagBuff
static

If true for a given T:Terraria.ID.BuffID, then that buff is not considered a typical debuff, but is a buff used to "tag" entities for other purposes.

Whip debuffs are the primary example of tag buffs, they facilitate a combat mechanic rather than affect the NPC directly.


Buffs in this set can be applied to all NPCs unless that NPC sets F:Terraria.ID.NPCID.Sets.ImmuneToAllBuffs to prevent it.

Defaults to false.

Definition at line 48 of file BuffID.cs.

Referenced by Terraria.ID.BuffID.Sets.Sets(), Terraria.DataStructures.NPCDebuffImmunityData.ApplyToNPC(), and Terraria.NPC.SetDefaults().