Widget/API/SetUnitDebuff

__NOTOC__
Populates the Tooltip's text based on a Unit's Debuffs.
GameTooltip:SetUnitDebuff("unit",num)
== Parameters ==
=== Arguments ===
:;unit
::String - the UnitID (e.g. "target", "party1", "raid1", etc..) 
:;num
::Integer - the debuff ID number. 
=== Returns ===
:;None
== Example ==
GameTooltip:SetUnitDebuff("player",1); GameTooltip:Show();
(Has the same effect as rolling your mouse over the first button in your debuff bar)
== Widgets With This Method ==
* GameTooltip
Category:Widget/API Category:Widget/Class/GameTooltip