Skip to content

Commit

Permalink
Exclude extra ascendancies from node counts (#6949)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lilylicious authored Dec 6, 2023
1 parent d66a1e4 commit a80db83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Classes/PassiveSpec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -687,7 +687,7 @@ end
function PassiveSpecClass:CountAllocNodes()
local used, ascUsed, sockets = 0, 0, 0
for _, node in pairs(self.allocNodes) do
if node.type ~= "ClassStart" and node.type ~= "AscendClassStart" then
if node.type ~= "ClassStart" and node.type ~= "AscendClassStart" and not (node.ascendancyName and (node.ascendancyName == "Warden" or node.ascendancyName == "Warlock" or node.ascendancyName == "Primalist")) then
if node.ascendancyName then
if not node.isMultipleChoiceOption then
ascUsed = ascUsed + 1
Expand Down

0 comments on commit a80db83

Please sign in to comment.