View Single Post
09-30-11, 03:35 PM   #19
brotherhobbes
A Rage Talon Dragon Guard
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 313
Could probably use
http://wowprogramming.com/docs/api/GetPrimaryTalentTree
tabIndex = GetPrimaryTalentTree(isInspect, isPet, talentGroup)

so like

local spec = GetPrimaryTalentTree(false, false)

if spec == 1
blood
else if spec == 2
frost
etc
etc
  Reply With Quote