GameTooltip:SetUnitConsolidatedBuff
Jump to navigation
Jump to search
![]() |
This is no longer a part of the World of Warcraft API.
|
Links |
---|
Shows a tooltip for the spell currently providing the specified consolidated buff type. Displays the tooltip of the spell providing a consolidated buff effect.
GameTooltip:SetUnitConsolidatedBuff("unit", buffIndex)
Arguments
- unit
- String - unit to query.
- buffIndex
- Number - index of the consolidated buff slot to show the tooltip for.
slot | Buff Type | slot | Buff Type |
---|---|---|---|
1 | Stats | 2 | Stamina |
3 | Attack Power | 4 | Attack Speed |
5 | Spell Power | 6 | Spell Haste |
7 | Critical Strike | 8 | Mastery |
Details
- If the specified unit has a buff of the specified category, the tooltip will display the spell currently providing that buff, e.g.
[Mark of the Wild] for the Stats category.
- If the unit does not have the specified type of buff, nothing is added to the tooltip.
- This method only works for units under the player's control.
- As with all other tooltip SetX methods, you must first set the tooltip's owner using GameTooltip:SetOwner.
Patch history
Patch 5.4.0 (2013-09-10): Added.