Fix Ascendant forbidden flesh / flame jewels

This commit is contained in:
LocalIdentity
2025-11-21 15:51:25 +11:00
parent 4445e2aab0
commit df04f475f6

View File

@@ -531,8 +531,9 @@ local PassiveTreeClass = newClass("PassiveTree", function(self, treeVersion)
end
else
node.type = "Normal"
if node.ascendancyName == "Ascendant" and not node.isMultipleChoiceOption and not node.dn:find("Dexterity")
and not node.dn:find("Intelligence") and not node.dn:find("Strength") and not node.dn:find("Passive") then
if (node.ascendancyName == "Ascendant" and not node.isMultipleChoiceOption and not node.dn:find("Dexterity")
and not node.dn:find("Intelligence") and not node.dn:find("Strength") and not node.dn:find("Passive"))
or (node.isMultipleChoiceOption and node.ascendancyName) then
local className = self.ascendNameMap[node.ascendancyName].class.name
self.ascendancyMap[node.dn:lower()] = node
if not self.classNotables[className] then
@@ -540,16 +541,6 @@ local PassiveTreeClass = newClass("PassiveTree", function(self, treeVersion)
end
t_insert(self.classNotables[className], node.dn)
end
if node.isMultipleChoiceOption and node.ascendancyName then
local className = self.ascendNameMap[node.ascendancyName].class.name
if className ~= "Scion" then
self.ascendancyMap[node.dn:lower()] = node
if not self.classNotables[className] then
self.classNotables[className] = { }
end
t_insert(self.classNotables[className], node.dn)
end
end
end
-- Find the node group