From 31352d378d66116283af5838f38ec75b0cddd83b Mon Sep 17 00:00:00 2001 From: vaisest <4550061+vaisest@users.noreply.github.com> Date: Sun, 21 Jun 2026 20:58:14 +0300 Subject: [PATCH 1/5] Fix radius jewels only applying the first mod in the list --- src/Data/ModCache.lua | 1 + src/Modules/ModParser.lua | 28 ++++++++++++++++------------ 2 files changed, 17 insertions(+), 12 deletions(-) diff --git a/src/Data/ModCache.lua b/src/Data/ModCache.lua index e2846de0d0..b88b6c4713 100644 --- a/src/Data/ModCache.lua +++ b/src/Data/ModCache.lua @@ -6849,6 +6849,7 @@ c["Unique Tamed Beasts have 30% increased movement speed"]={nil,"Unique Tamed Be c["Unique Tamed Beasts have 30% increased movement speed Unique Tamed Beasts are Possessed by random Azmeri Spirits, changing every 20 seconds"]={nil,"Unique Tamed Beasts have 30% increased movement speed Unique Tamed Beasts are Possessed by random Azmeri Spirits, changing every 20 seconds "} c["Unwavering Stance"]={{[1]={flags=0,keywordFlags=0,name="Keystone",type="LIST",value="Unwavering Stance"}},nil} c["Unwithered enemies are Withered for 8 seconds when they enter your Presence"]={{[1]={flags=0,keywordFlags=0,name="Condition:CanWither",type="FLAG",value=true}},nil} +c["Upgrades Radius to Very Large"]={{[1]={flags=0,keywordFlags=0,name="JewelData",type="LIST",value={key="timeLostJewelRadiusOverride",value=4}}},nil} c["Used when you are affected by a Slow"]={nil,"Used when you are affected by a Slow "} c["Used when you are affected by a Slow Grants Onslaught during effect"]={nil,"Used when you are affected by a Slow Grants Onslaught during effect "} c["Used when you become Frozen"]={nil,"Used when you become Frozen "} diff --git a/src/Modules/ModParser.lua b/src/Modules/ModParser.lua index ee818e796d..edd5a4ca69 100644 --- a/src/Modules/ModParser.lua +++ b/src/Modules/ModParser.lua @@ -7020,13 +7020,15 @@ local jewelOtherFuncs = { return function(node, out, data) if node and (node.type == firstToUpper(passiveType) or (node.type == "Normal" and not node.isAttribute and firstToUpper(passiveType) == "Small")) then local modList, line = parseMod(mod) - if not line and modList[1] then -- something failed to parse, do not add to list - modList[1].parsedLine = capitalizeWordsInString(mod) - modList[1].source = data.modSource - if type(modList[1].value) == "table" and modList[1].value.mod then - modList[1].value.mod.source = data.modSource + if not line and modList[1] then + for _, modListMod in ipairs(modList) do + modListMod.parsedLine = capitalizeWordsInString(mod) + modListMod.source = data.modSource + if type(modListMod.value) == "table" and modListMod.value.mod then + modListMod.value.mod.source = data.modSource + end + out:AddMod(modListMod) end - out:AddMod(modList[1]) end end end @@ -7035,13 +7037,15 @@ local jewelOtherFuncs = { return function(node, out, data) if node and (node.type == firstToUpper(passiveType) or (node.type == "Normal" and not node.isAttribute and firstToUpper(passiveType) == "Small") or (node.type == "Normal" and node.isAttribute and firstToUpper(passiveType) == "Attribute")) then local modList, line = parseMod(mod) - if not line and modList[1] then -- something failed to parse, do not add to list - modList[1].parsedLine = capitalizeWordsInString(mod) - modList[1].source = data.modSource - if type(modList[1].value) == "table" and modList[1].value.mod then - modList[1].value.mod.source = data.modSource + if not line and modList[1] then + for _, modListMod in ipairs(modList) do + modListMod.parsedLine = capitalizeWordsInString(mod) + modListMod.source = data.modSource + if type(modListMod.value) == "table" and modListMod.value.mod then + modListMod.value.mod.source = data.modSource + end + out:AddMod(modListMod) end - out:AddMod(modList[1]) end end end From d9f27297fecab570ebac3d2b1ff90bfec981537f Mon Sep 17 00:00:00 2001 From: vaisest <4550061+vaisest@users.noreply.github.com> Date: Sun, 21 Jun 2026 21:03:26 +0300 Subject: [PATCH 2/5] Clarify Peechey's comment --- src/Modules/ModParser.lua | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/Modules/ModParser.lua b/src/Modules/ModParser.lua index edd5a4ca69..5fd2310f39 100644 --- a/src/Modules/ModParser.lua +++ b/src/Modules/ModParser.lua @@ -7019,8 +7019,9 @@ local jewelOtherFuncs = { ["^(%w+) Passive Skills in Radius also grant (.*)$"] = function(passiveType, mod) return function(node, out, data) if node and (node.type == firstToUpper(passiveType) or (node.type == "Normal" and not node.isAttribute and firstToUpper(passiveType) == "Small")) then - local modList, line = parseMod(mod) - if not line and modList[1] then + local modList, extra = parseMod(mod) + -- avoid adding mods if mod line wasn't parsed correctly + if not extra and modList[1] then for _, modListMod in ipairs(modList) do modListMod.parsedLine = capitalizeWordsInString(mod) modListMod.source = data.modSource @@ -7036,8 +7037,9 @@ local jewelOtherFuncs = { ["conquered (%w+) Passive Skills also grant (.*)$"] = function(passiveType, mod) return function(node, out, data) if node and (node.type == firstToUpper(passiveType) or (node.type == "Normal" and not node.isAttribute and firstToUpper(passiveType) == "Small") or (node.type == "Normal" and node.isAttribute and firstToUpper(passiveType) == "Attribute")) then - local modList, line = parseMod(mod) - if not line and modList[1] then + local modList, extra = parseMod(mod) + -- avoid adding mods if mod line wasn't parsed correctly + if not extra and modList[1] then for _, modListMod in ipairs(modList) do modListMod.parsedLine = capitalizeWordsInString(mod) modListMod.source = data.modSource From ffaaeb7c70196168f440346840e7e4438be6a4aa Mon Sep 17 00:00:00 2001 From: vaisest <4550061+vaisest@users.noreply.github.com> Date: Sun, 21 Jun 2026 21:07:59 +0300 Subject: [PATCH 3/5] Remove modcache line --- src/Data/ModCache.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Data/ModCache.lua b/src/Data/ModCache.lua index b88b6c4713..89715b24e9 100644 --- a/src/Data/ModCache.lua +++ b/src/Data/ModCache.lua @@ -6372,8 +6372,7 @@ c["Only affects Passives in Massive Ring"]={{[1]={flags=0,keywordFlags=0,name="J c["Only affects Passives in Medium Ring"]={{[1]={flags=0,keywordFlags=0,name="JewelData",type="LIST",value={key="radiusIndex",value=8}}},nil} c["Only affects Passives in Medium-Large Ring"]={{[1]={flags=0,keywordFlags=0,name="JewelData",type="LIST",value={key="radiusIndex",value=9}}},nil} c["Only affects Passives in Medium-Small Ring"]={{[1]={flags=0,keywordFlags=0,name="JewelData",type="LIST",value={key="radiusIndex",value=7}}},nil} -c["Only affects Passives in Small Ring"]={{[1]={flags=0,keywordFlags=0,name="JewelData",type="LIST",value={key="radiusIndex",value=6}}},nil} -c["Only affects Passives in Very Large Ring"]={{[1]={flags=0,keywordFlags=0,name="JewelData",type="LIST",value={key="radiusIndex",value=11}}},nil} +c["Only affects Passives in Small Ring"] = { { [1] = { flags = 0, keywordFlags = 0, name = "JewelData", type = "LIST", value = { key = "radiusIndex", value = 6 } } }, nil } c["Only affects Passives in Very Small Ring"]={{[1]={flags=0,keywordFlags=0,name="JewelData",type="LIST",value={key="radiusIndex",value=5}}},nil} c["Onslaught"]={{[1]={flags=0,keywordFlags=0,name="Condition:Onslaught",type="FLAG",value=true}},nil} c["Orb Skills have +1 to Limit"]={nil,"Orb Skills have +1 to Limit "} From b97e4876c792f2d8702610a49ad5e0764ce776fc Mon Sep 17 00:00:00 2001 From: vaisest <4550061+vaisest@users.noreply.github.com> Date: Sun, 21 Jun 2026 22:46:39 +0300 Subject: [PATCH 4/5] :madashell: --- src/Data/ModCache.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Data/ModCache.lua b/src/Data/ModCache.lua index 89715b24e9..b88b6c4713 100644 --- a/src/Data/ModCache.lua +++ b/src/Data/ModCache.lua @@ -6372,7 +6372,8 @@ c["Only affects Passives in Massive Ring"]={{[1]={flags=0,keywordFlags=0,name="J c["Only affects Passives in Medium Ring"]={{[1]={flags=0,keywordFlags=0,name="JewelData",type="LIST",value={key="radiusIndex",value=8}}},nil} c["Only affects Passives in Medium-Large Ring"]={{[1]={flags=0,keywordFlags=0,name="JewelData",type="LIST",value={key="radiusIndex",value=9}}},nil} c["Only affects Passives in Medium-Small Ring"]={{[1]={flags=0,keywordFlags=0,name="JewelData",type="LIST",value={key="radiusIndex",value=7}}},nil} -c["Only affects Passives in Small Ring"] = { { [1] = { flags = 0, keywordFlags = 0, name = "JewelData", type = "LIST", value = { key = "radiusIndex", value = 6 } } }, nil } +c["Only affects Passives in Small Ring"]={{[1]={flags=0,keywordFlags=0,name="JewelData",type="LIST",value={key="radiusIndex",value=6}}},nil} +c["Only affects Passives in Very Large Ring"]={{[1]={flags=0,keywordFlags=0,name="JewelData",type="LIST",value={key="radiusIndex",value=11}}},nil} c["Only affects Passives in Very Small Ring"]={{[1]={flags=0,keywordFlags=0,name="JewelData",type="LIST",value={key="radiusIndex",value=5}}},nil} c["Onslaught"]={{[1]={flags=0,keywordFlags=0,name="Condition:Onslaught",type="FLAG",value=true}},nil} c["Orb Skills have +1 to Limit"]={nil,"Orb Skills have +1 to Limit "} From 7ef20dd914d58aaab02844423fdf98810a2a4cfb Mon Sep 17 00:00:00 2001 From: LocalIdentity Date: Sat, 27 Jun 2026 00:14:13 +1000 Subject: [PATCH 5/5] Fix modcache --- src/Data/ModCache.lua | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Data/ModCache.lua b/src/Data/ModCache.lua index b88b6c4713..e2846de0d0 100644 --- a/src/Data/ModCache.lua +++ b/src/Data/ModCache.lua @@ -6849,7 +6849,6 @@ c["Unique Tamed Beasts have 30% increased movement speed"]={nil,"Unique Tamed Be c["Unique Tamed Beasts have 30% increased movement speed Unique Tamed Beasts are Possessed by random Azmeri Spirits, changing every 20 seconds"]={nil,"Unique Tamed Beasts have 30% increased movement speed Unique Tamed Beasts are Possessed by random Azmeri Spirits, changing every 20 seconds "} c["Unwavering Stance"]={{[1]={flags=0,keywordFlags=0,name="Keystone",type="LIST",value="Unwavering Stance"}},nil} c["Unwithered enemies are Withered for 8 seconds when they enter your Presence"]={{[1]={flags=0,keywordFlags=0,name="Condition:CanWither",type="FLAG",value=true}},nil} -c["Upgrades Radius to Very Large"]={{[1]={flags=0,keywordFlags=0,name="JewelData",type="LIST",value={key="timeLostJewelRadiusOverride",value=4}}},nil} c["Used when you are affected by a Slow"]={nil,"Used when you are affected by a Slow "} c["Used when you are affected by a Slow Grants Onslaught during effect"]={nil,"Used when you are affected by a Slow Grants Onslaught during effect "} c["Used when you become Frozen"]={nil,"Used when you become Frozen "}