WoW:API GetPrimaryTalentTree

Revision as of 04:15, 16 April 2011 by WoWWiki>Mrbones118 (Added parameter info.)

Synopsis

Returns your primary talent tree

talentTabId = GetPrimaryTalentTree(index)

Remarks

Returns 0 for talentTabId if you have no primary talent tree set yet. Will otherwise return the number of your primary talent tree (1 to 3). Index is 0 for primary spec, and any number greater than 0 for secondary spec.