API GameTooltip SetUnitConsolidatedBuff

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.

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.