Fills the tooltip with information about a buff on a unit. This method is an alias for :SetUnitAura()
with a built-in HELPFUL
filter (which cannot be removed or negated with the HARMFUL
filter).
Signature:
GameTooltip:SetUnitBuff("unit",
index
[,
"filter"])
Arguments:
unit
- A unit to query (string
, unitID)index
- Index of a buff or debuff on the unit (number
)filter
- A list of filters to use when resolving the index, separated by the pipe '|' character; e.g."RAID|PLAYER"
will query group buffs cast by the player (string
)CANCELABLE
- Show auras that can be cancelledNOT_CANCELABLE
- Show auras that cannot be cancelledPLAYER
- Show auras the player has castRAID
- Show auras the player can cast on party/raid members (as opposed to self buffs)