Skip to content

Commit df04f47

Browse files
author
LocalIdentity
committed
Fix Ascendant forbidden flesh / flame jewels
1 parent 4445e2a commit df04f47

File tree

1 file changed

+3
-12
lines changed

1 file changed

+3
-12
lines changed

src/Classes/PassiveTree.lua

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -531,25 +531,16 @@ local PassiveTreeClass = newClass("PassiveTree", function(self, treeVersion)
531531
end
532532
else
533533
node.type = "Normal"
534-
if node.ascendancyName == "Ascendant" and not node.isMultipleChoiceOption and not node.dn:find("Dexterity")
535-
and not node.dn:find("Intelligence") and not node.dn:find("Strength") and not node.dn:find("Passive") then
534+
if (node.ascendancyName == "Ascendant" and not node.isMultipleChoiceOption and not node.dn:find("Dexterity")
535+
and not node.dn:find("Intelligence") and not node.dn:find("Strength") and not node.dn:find("Passive"))
536+
or (node.isMultipleChoiceOption and node.ascendancyName) then
536537
local className = self.ascendNameMap[node.ascendancyName].class.name
537538
self.ascendancyMap[node.dn:lower()] = node
538539
if not self.classNotables[className] then
539540
self.classNotables[className] = { }
540541
end
541542
t_insert(self.classNotables[className], node.dn)
542543
end
543-
if node.isMultipleChoiceOption and node.ascendancyName then
544-
local className = self.ascendNameMap[node.ascendancyName].class.name
545-
if className ~= "Scion" then
546-
self.ascendancyMap[node.dn:lower()] = node
547-
if not self.classNotables[className] then
548-
self.classNotables[className] = { }
549-
end
550-
t_insert(self.classNotables[className], node.dn)
551-
end
552-
end
553544
end
554545

555546
-- Find the node group

0 commit comments

Comments
 (0)