WoW:API UnitDebuff: Difference between revisions

m
copy/paste typo
mNo edit summary
m (copy/paste typo)
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 = UnitDebuff(unitName, debuffIndex);
  debuffTexture, debuffApplications = UnitDebuff(unitName, debuffIndex);


----
----
Line 21: Line 21:
:;debuffIndex : The index num of the debuff to retrieve info on. Starts at 1 and goes up to (and possibly beyond) a certain number.  
:;debuffIndex : The index num of the debuff to retrieve info on. Starts at 1 and goes up to (and possibly beyond) a certain number.  


: The maximum numbers used by the Blizzard code are 8 for party/pet/target debuffs.  
: The maximum numbers used by the Blizzard code are 16 for party/pet/target debuffs.  


----
----
Line 29: Line 29:


:;debuffTexture : The identifier of (path and filename to) the indicated debuff, or nil if no debuff
:;debuffTexture : The identifier of (path and filename to) the indicated debuff, or nil if no debuff
:(String debuffApplications)
:;debuffApplications : The number of times the debuff has been applied to the target.


----
----