This commit is contained in:
Bunny67
2018-07-15 14:12:16 +03:00
parent 73193b94bf
commit 63ca787294
+3 -4
View File
@@ -441,12 +441,11 @@ function E:IsDispellableByMe(debuffType)
end
end
function E:GetTalentSpecInfo(isInspect)
local talantGroup = GetActiveTalentGroup(isInspect)
function E:GetTalentSpecInfo()
local maxPoints, specIdx, specName, specIcon = 0, 0
for i = 1, MAX_TALENT_TABS do
local name, icon, pointsSpent = GetTalentTabInfo(i, isInspect, nil, talantGroup)
for i = 1, 3 do
local name, icon, pointsSpent = GetTalentTabInfo(i)
if maxPoints < pointsSpent then
maxPoints = pointsSpent
specIdx = i