GetTalentTreeRoles
Jump to navigation
Jump to search
Flavors |
---|
Links |
Info |
Added in 4.0.1 |
![]() |
This API only exists in Cata Classic. |
![]() |
This is no longer a part of the World of Warcraft API.
|
Returns the role(s) which a particular talent tree is designed for.
tabRole1, tabRole2 = GetTalentTreeRoles(talentTreeId, [isInspect[, isPet]])
Arguments
- talentTreeId
- Number - The ID of the talent tree, 1-3 as returned by GetPrimaryTalentTree and similar functions.
- isInspect
- Boolean (Optional) - If true returns the information for the inspected unit instead of the player.
- isPet
- Boolean (Optional) - If true returns the information for the inspected pet.
Returns
- tabRole1, tabRole2
- String - Returns the name of the role(s) this tree is designed for, DAMAGER, HEALER, TANK. Will return only one value if the tree only serves one role.
Patch changes
Patch 5.0.4 (2012-08-28): Removed.