View Single Post
10-15-10, 11:41 PM   #2
brotherhobbes
A Rage Talon Dragon Guard
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 313
If you just want the general spec, you can use something like

if GetPrimaryTalentTree() == 2 then
-- enhancement
end

Example: for shaman, 1 = ele, 2 = enh, 3 = resto, 0 = you haven't selected yet

The function name is misleading, it returns what your current active spec is, not what you have assigned to your Primary/Secondary spec.

Anyway, this should be much easier for you to use.
  Reply With Quote