WoW API: GetAvailableRoles

From AddOn Studio
Jump to navigation Jump to search

WoW API < GetAvailableRoles

Returns which LFG roles your character may fulfill.

local = canBeTank, canBeHealer, canBeDPS = GetAvailableRoles()

Parameters[edit]

Returns[edit]

  • 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.

Details[edit]

At present, talents do not affect which roles are available to characters; as such, every class can sign up for a DPS role.

Notes[edit]

  • Removed in patch 4.0.1