WoW:API UnitDebuff: Difference between revisions

m
m (→‎Returns: typo fix)
Line 22: Line 22:
:;debuffApplications : Number (docs said String?!) - The number of times the debuff has been applied to the target.  Usualy returns 0 for single debuffs(Changed in 1.11).
:;debuffApplications : Number (docs said String?!) - The number of times the debuff has been applied to the target.  Usualy returns 0 for single debuffs(Changed in 1.11).


:;debuffDispelType : String - The debuff dispel type. Can be "Magic", "Curse", "Poison", "Disease" or nil if not dispellable. (Added in 1.11)
:;debuffDispelType : String - The debuff dispel type. Can be "Magic", "Curse", "Poison", "Disease" or nil if not dispellable. These strings are constant across localizations. (Added in 1.11)


== Example ==  
== Example ==  
  debuff = UnitDebuff("pet", i);
  debuff = UnitDebuff("pet", i);


Retrieves the debuff texture of the pets debuff with the index of "i".
Retrieves the debuff texture of the player's pet's debuff with the index i.


== See Also ==
== See Also ==