Fandom

WoWWiki

API GetAvailableRoles

104,634pages on
this wiki
Add New Page
Talk0 Share

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.

WoW API < GetAvailableRoles

Returns which LFG roles your character may fulfill.

canBeTank, canBeHealer, canBeDPS = GetAvailableRoles();

Returns Edit

canBeTank 
Flag - 1 if your character can be a tank in an LFG group, nil otherwise.
canBeHealer 
Flag - 1 if your character can be a healer in an LFG group, nil otherwise.
canBeDPS 
Flag - 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.

Also on Fandom

Random Wiki