no edit summary
(Formatting) |
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, buffApplications = UnitBuff(unit, buffIndex[, showCastable]); | buffName, buffRank, buffTexture, buffApplications = UnitBuff(unit, buffIndex[, showCastable]); | ||
== Parameters == | == Parameters == | ||
| Line 17: | Line 17: | ||
=== Returns === | === Returns === | ||
:;buffName : String - The name of the spell or effect of the buff. This is the name shown in yellow when you mouse over the icon. (Added in 2.0) | |||
:;buffRank : String - The rank of the spell or effect that caused the buff. Returns "" if there is no rank. (Added in 2.0) | |||
:;buffTexture : String - The identifier of (path and filename to) the indicated buff, or nil if no buff | :;buffTexture : String - The identifier of (path and filename to) the indicated buff, or nil if no buff | ||