→Returns
(Expanded on the two flavors of UnitAura (name vs index)) |
|||
| Line 29: | Line 29: | ||
;name : String - The name of the spell or effect of the debuff. This is the name shown in yellow when you mouse over the icon. | ;name : String - The name of the spell or effect of the debuff. This is the name shown in yellow when you mouse over the icon. | ||
;rank : String - The rank of the spell or effect that caused the debuff. Returns "" if there is no rank. | ;rank : String - The rank of the spell or effect that caused the debuff. Returns "" if there is no rank. | ||
;icon | ;icon : String - The path to the icon file. | ||
;count : Number - The number of times the debuff has been applied to the target. Returns 0 for any debuff which doesn't stack. ( Changed in 1.11 ). | ;count : Number - The number of times the debuff has been applied to the target. Returns 0 for any debuff which doesn't stack. ( Changed in 1.11 ). | ||
;debuffType : String - The type of the debuff: Magic, Disease, Poison, Curse, or nothing for those with out a type. | ;debuffType : String - The type of the debuff: Magic, Disease, Poison, Curse, or nothing for those with out a type. | ||