Skip to content

Commit 99a6b5f

Browse files
Merge pull request #4 from Nostrademous/SkillCountFix
Fix skill count not counting skills from ascendancies/tree
2 parents 448635e + 6f3ecaf commit 99a6b5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Classes/SkillsTab.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1298,7 +1298,7 @@ function SkillsTabClass:UpdateGlobalGemCountAssignments()
12981298
for _, socketGroup in ipairs(self.socketGroupList) do
12991299
local countGroup = true
13001300
for _, gemInstance in ipairs(socketGroup.gemList) do
1301-
if gemInstance.fromItem then
1301+
if gemInstance.fromItem or (gemInstance.gemData and gemInstance.gemData.grantedEffect and gemInstance.gemData.grantedEffect.fromTree) then
13021302
countGroup = false
13031303
end
13041304
if gemInstance.gemData then

0 commit comments

Comments
 (0)