Skip to content

Commit

Permalink
dual spec dt cata
Browse files Browse the repository at this point in the history
  • Loading branch information
kodewdle committed Apr 14, 2024
1 parent 22e862e commit 87b141a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ElvUI/Core/Modules/DataTexts/DualSpec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,9 @@ local function BuildTalentString(talentGroup)
local str = ''

for i = 1, MAX_TALENT_TABS do
local _, _, pointsSpent = GetTalentTabInfo(i, false, false, talentGroup)
str = (str == '' and pointsSpent) or strjoin('/', str, pointsSpent)
local _, _, pointsEra, _, pointsInCata = GetTalentTabInfo(i, false, false, talentGroup)
local points = (E.Cata and pointsInCata) or pointsEra
str = (str == '' and points) or strjoin('/', str, points)
end

return str
Expand Down

0 comments on commit 87b141a

Please sign in to comment.