GetPVPRoles

From Warcraft Wiki
Jump to navigation Jump to search
Flavors
Links
Info
Added in 5.3.0 / 1.15.0

Returns which roles the player is willing to perform in PvP battlegrounds.

tank, healer, dps = GetPVPRoles()

Returns

tank
boolean - true if the player is marked as willing to tank, false otherwise.
healer
boolean - true if the player is marked as willing to heal, false otherwise.
dps
boolean - true if the player is marked as willing to deal damage, false otherwise.

Patch changes

Mists of Pandaria Patch 5.3.0 (2013-05-21): Added.

See also