Automated updating of API pages at this location, to reflect patch changes, has ceased from 10.1.7 onwards. |
Returns the recommended roles for a specified unit
tank, heal, dps = UnitGetAvailableRoles(unit)
Arguments[]
- unit
- string : UnitId
Returns[]
- tank
- boolean - Whether the unit can perform as a tank
- heal
- boolean - Whether the unit can perform as a healer
- dps
- boolean - Whether the unit can perform as a dps
Notes[]
Although the Group Finder allows every class to pick any role, for some there is a warning that it is not recommended (e.g., healer as a Warrior). This function returns results based on the same logic.