API GetPlayerBuffName

104,672pages on
this wiki
Add New Page
Talk0 Share
WoW API < GetPlayerBuffName

Used to retrieve the name and rank of a buff in a given index, or to verify a buff with the given name (and optionally, rank) is present.

name, rank = GetPlayerBuffName(id, or "name"[,"rank"])

Arguments Edit

Number - index from 1 to 16
String - name of the buff to retrieve
String (Optional) - rank of the buff to retrieve (as returned by this function)

Returns Edit

String - name of buff found
String - rank of buff found

Example Edit

local buffName, buffRank = GetPlayerBuffName(1)

(called on a paladin with Devotion Aura(Rank 1) in buff slot 1)


buffName = "Devotion Aura"
buffRank = "Rank 1"

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

Also on Fandom

Random Wiki