Wikia

WoWWiki

API GetAvailableRoles

Talk0
101,312pages on
this wiki
Revision as of 00:00, March 22, 2010 by Starlightblunder (Talk | contribs)

(diff) ←Older revision | Latest revision (diff) | Newer revision → (diff)
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