WoW:API UnitBuff: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 3: Line 3:
Retrieve info about a certain buff on a certain unit.
Retrieve info about a certain buff on a certain unit.


  buffTexture = UnitBuff(unitName, buffIndex);
  buffTexture, buffApplications = UnitBuff(unitName, buffIndex);


----
----
Line 33: Line 33:
:;buffTexture : The identifier of (path and filename to) the indicated buff, or nil if no buff
:;buffTexture : The identifier of (path and filename to) the indicated buff, or nil if no buff


:(String buffApplications)
:;buffApplications : The number of times the buff has been applied to the target.
----
----
;''Example''
;''Example''
Anonymous user