Fills the tooltip with information about a buff or debuff on a unit.
Fills the tooltip with information about a buff or debuff on a unit.
Signature:
Code
GameTooltip:SetUnitAura("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. "RAIDPLAYER" will query group buffs cast by the player (string)
CANCELABLE - Show auras that can be cancelled
HARMFUL - Show debuffs only
HELPFUL - Show buffs only
NOT_CANCELABLE - Show auras that cannot be cancelled
PLAYER - Show auras the player has cast
RAID - Show auras the player can cast on party/raid members (as opposed to self buffs)