WoW API: GetAvailableRoles
This is no longer a part of the World of Warcraft API.
|
Returns which LFG roles your character may fulfill.
local = canBeTank, canBeHealer, canBeDPS = GetAvailableRoles()
ParametersEdit
ReturnsEdit
- canBeTank (onenil) - 1 if your character can be a tank in an LFG group, nil otherwise.
- canBeHealer (onenil) - 1 if your character can be a healer in an LFG group, nil otherwise.
- canBeDPS (onenil) - 1 if your character can be a damage-dealer in an LFG group, nil otherwise.
DetailsEdit
At present, talents do not affect which roles are available to characters; as such, every class can sign up for a DPS role.
NotesEdit
- Removed in patch 4.0.1