Wikia

WoWWiki

API GetAvailableRoles

Talk0
101,775pages on
this wiki
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.

Around Wikia's network

Random Wiki