Open main menu
Home
Random
Log in
Settings
About AddOn Studio
Disclaimers
AddOn Studio
Search
Editing
WoW:API GetPlayerBuffName
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{wowapi|removed=3.0|replace=Use {{api|UnitAura}} and derived functions instead.}} 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. local name, rank = GetPlayerBuffName(id, or "name"[,"rank"]) == Parameters == === Arguments === * id (number) - index from 1 to 16 * name (string) - name of the buff to retrieve * rank (string) - rank of the buff to retrieve, as returned by this function (Optional) === Returns === * name (string) - name of buff found * rank (string) - rank of buff found == Example == Called on a paladin with Devotion Aura (Rank 1) in buff slot 1 local buffName, buffRank = GetPlayerBuffName(1) ;Result buffName = "Devotion Aura" buffRank = "Rank 1" == Notes == * Removed in patch 3.0. Use {{api|UnitAura}} (or derived functions) to retrieve information about buffs.
Summary:
Please note that all contributions to AddOn Studio are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see
AddOn Studio Wiki:Copyrights
for details).
Submissions must be written by you, or copied from a public domain or similar free resource (see
AddOn Studio Wiki:Copyrights
for details).
Cancel
Editing help
(opens in new window)
Templates used on this page:
Template:Ambox
(
edit
)
Template:Api
(
edit
)
Template:Apinav
(
edit
)
Template:Editlink
(
edit
)
Template:Tocright
(
edit
)
Template:WoW/removedapi
(
edit
)
Template:Wowapi
(
edit
)