From feeab62482f0a4e0d3de756ca78ae33de1132706 Mon Sep 17 00:00:00 2001 From: vaisest <4550061+vaisest@users.noreply.github.com> Date: Thu, 27 Aug 2026 20:46:10 +0300 Subject: [PATCH 1/2] Fix Conjoined Spire AoE calc --- src/Modules/CalcOffence.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Modules/CalcOffence.lua b/src/Modules/CalcOffence.lua index 8458c4e468..a2eea54f74 100644 --- a/src/Modules/CalcOffence.lua +++ b/src/Modules/CalcOffence.lua @@ -1182,6 +1182,10 @@ function calcs.offence(env, actor, activeSkill) end end if skillFlags.area or skillData.radius or (skillFlags.mine and activeSkill.skillTypes[SkillType.Aura]) then + -- add totem limit output early for conjoined spire + if skillFlags.totem then + output.ActiveTotemLimit = skillModList:Sum("BASE", skillCfg, "ActiveTotemLimit", "ActiveBallistaLimit") + end calcAreaOfEffect(skillModList, skillCfg, skillData, skillFlags, output, breakdown) end if activeSkill.skillTypes[SkillType.Aura] then From 0797a2b0f00b655bd7fbd32a454b74365fa35e36 Mon Sep 17 00:00:00 2001 From: vaisest <4550061+vaisest@users.noreply.github.com> Date: Thu, 27 Aug 2026 20:54:00 +0300 Subject: [PATCH 2/2] Test --- spec/System/TestOffence_spec.lua | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/spec/System/TestOffence_spec.lua b/spec/System/TestOffence_spec.lua index da782f9f67..f28cbc3c63 100644 --- a/spec/System/TestOffence_spec.lua +++ b/spec/System/TestOffence_spec.lua @@ -352,4 +352,17 @@ describe("TestOffence", function() assert.are.equals(1, build.calcsTab.mainOutput[outputName]) end) end + it("uses the final totem limit when scaling area of effect", function() + build.skillsTab:PasteSocketGroup("Searing Bond of Detonation 20/0 1") + build.configTab.input.customMods = [[ + +3 to Maximum Power Charges + Skills used by Totems have 10% more Area of Effect per maximum number of Summoned Totems + ]] + build.configTab:BuildModList() + runCallback("OnFrame") + + -- 1 base totem + 6 maximum power charges, so 70% more area of effect. + assert.are.equals(7, build.calcsTab.mainOutput.ActiveTotemLimit) + assert.are.equals(1.7, build.calcsTab.mainOutput.AreaOfEffectMod) + end) end)