From 2e36f67ff2e0d2a46a8787cd0b76fe7df463f8ae Mon Sep 17 00:00:00 2001 From: justjuangui Date: Sun, 14 Dec 2025 12:12:15 -0500 Subject: [PATCH] Fix passive tree reference node and adjust stat description substring length --- src/Export/Scripts/passivetree.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Export/Scripts/passivetree.lua b/src/Export/Scripts/passivetree.lua index 3e843c368b..c91ed0ca82 100644 --- a/src/Export/Scripts/passivetree.lua +++ b/src/Export/Scripts/passivetree.lua @@ -905,7 +905,7 @@ for i, group in ipairs(psg.groups) do nodes = {} } - for id, refNode in ipairs(passiveRow.RefNodes) do + for id, refNode in ipairs(passiveRow.ConstraintNode) do printf(" - adding node " .. refNode.Name .. " to unlock constraint") node.unlockConstraint.nodes[id] = refNode.PassiveSkillNodeId end @@ -979,7 +979,7 @@ for i, group in ipairs(psg.groups) do table.insert(node["stats"], "Grants Skill: " .. skillName) -- -- include the stat description - local statDescription =string.sub(string.lower(gemEffect.GrantedEffect.ActiveSkill.StatDescription), 1, -2) + local statDescription =string.sub(string.lower(gemEffect.GrantedEffect.ActiveSkill.StatDescription), 1, -5) local handle = NewFileSearch("ggpk/" .. statDescription ..".csd") local almostOnce = false while handle do