WoW:API UnitDebuff: Difference between revisions

Added debuffDispelType return type (from 1.11)
No edit summary
(Added debuffDispelType return type (from 1.11))
Line 3: Line 3:
Retrieve info about a certain debuff on a certain unit.
Retrieve info about a certain debuff on a certain unit.


  debuffTexture, debuffApplications = UnitDebuff(unitName, debuffIndex, showDisepllable);
  debuffTexture, debuffApplications, debuffDispelType = UnitDebuff(unitName, debuffIndex, showDispellable);


----
----
Line 40: Line 40:


:;debuffApplications : The number of times the debuff has been applied to the target.
:;debuffApplications : The number of times the debuff has been applied to the target.
:(String debuffDispelType)
:;debuffType : The debuff dispel type. Can be "Magic", "Curse", "Poison", "Disease" or nil if not dispellable. (Added in 1.11)


----
----
Anonymous user