diff --git a/VuhDoToolbox.lua b/VuhDoToolbox.lua index 80a46e73f837fa08424d8546ecd645384a8b4870..0673535caf638828ca8f8d96237ec944b1ea9f1b 100644 --- a/VuhDoToolbox.lua +++ b/VuhDoToolbox.lua @@ -471,9 +471,10 @@ end function VUHDO_getTalentSpellId(aTalentName) for tier=1,7 do for column=1,3 do - local id, name, _, selected, _ = GetTalentInfo(tier, column, GetActiveSpecGroup()); + -- as of Legion "active spec group" is always 1 + local id, name, _, selected, _ = GetTalentInfo(tier, column, 1); - if name == aTalentName and selected then + if selected and name == aTalentName then return id; end end