Lore archive · Warcraft Wiki, 2023 dump
API GetTalentTreeRoles
Last wiki revision 2020-01-08
Returns the role(s) which a particular talent tree is designed for. tabRole1, tabRole2 = GetTalentTreeRoles(talentTreeId, [isInspect[, isPet]])
- 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.
- 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.
Source
https://warcraft.wiki.gg/wiki/API_GetTalentTreeRoles · retrieved 2023-11-13 · CC BY-SA 4.0
Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.
This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.