GetTalentGroupRole
Jump to navigation
Jump to search
Flavors |
---|
Links |
Info |
Added in 1.15.0 |
This API only exists in Wrath Classic and Classic Era. |
Returns the currently select role for a player talent group (primary or secondary).
role = GetTalentGroupRole(groupIndex)
Arguments
- groupIndex
- number - Ranging from
1
to2
(primary/secondary talent group). To get the current one use GetActiveTalentGroup()
Returns
- role
- string - Can be
DAMAGER
,TANK
, orHEALER