Skip to content

Fix Flamewood's Avenging Flame ignoring the supported skill's totem limit - #10444

Open
lucaskarsten wants to merge 2 commits into
PathOfBuildingCommunity:devfrom
lucaskarsten:fix/10440-flamewood-totem-limit
Open

lucaskarsten wants to merge 2 commits into
PathOfBuildingCommunity:devfrom
lucaskarsten:fix/10440-flamewood-totem-limit

Conversation

@lucaskarsten

@lucaskarsten lucaskarsten commented Nov 13, 2026 •

Copy link
Copy Markdown

Fixes #10440 .

Description of the problem being solved:

Flamewood Support grants Avenging Flame, which is cast by the totems of the skill Flamewood supports. CalcOffence summed Avenging Flame's ActiveTotemLimit from Avenging Flame's own mod list, so totem limits tied to the supported skill were lost: +N to maximum number of Summoned Searing Bond Totems (Foulborn The Searing Touch) carries a SkillName = Searing Bond tag. As a result Conjoined Spire (more damage and more AoE per maximum totem) and Ritual of Awakening (more damage per summoned totem) scaled Avenging Flame from the wrong count, as reported in the issue.

When a skill is granted by a support and has a trigger source (SkillGrantedBySupport + triggerSourceUUID), the totem limit now comes from the source skill's cached output, the same cache entry CalcTriggers already builds for it in the current env.mode. Avenging Flame is the only SkillGrantedBySupport skill with the totem flag, so no other skill changes. The bleed stack count now reuses output.ActiveTotemLimit so both sites agree.

A second commit fixes the defensive side. CalcPerform sets TotemsSummoned for "per Summoned Totem" mods (Ritual of Awakening regeneration, armour per totem, enemy damage taken per totem) from the main skill's mod list, before triggers run. With Avenging Flame selected it used Avenging Flame's own count, so those stats dropped. When the main skill is support-granted, the limit now comes from the totem skill in the same socket group.

Not changed: if several totem skills are linked to Flamewood, the trigger source stays the one with the highest totem life (existing avenging flame trigger config), so the offensive limit follows the same skill the damage already uses.

Steps taken to verify a working solution:

  • Added a spec in TestTriggers_spec.lua (Searing Bond + Flamewood, +4 Searing Bond totems, Conjoined Spire AoE line): before the fix Avenging Flame had ActiveTotemLimit 1 vs 7 for Searing Bond; after, ActiveTotemLimit, TotemsSummoned and AreaOfEffectMod (1.7) match the source.
  • Disabled the fix and confirmed the spec fails (expected 7, got 1).
  • Added a second spec with +300 Armour per Summoned Totem: armour is 2100 with Searing Bond as the main skill; with Avenging Flame selected it was 300 before the second commit and is 2100 after.
  • Checked MAIN, CALCS, the CALCULATOR base pass, two CALCULATOR override passes and Full DPS: same values in all of them.
  • busted --lua=luajit in the pathofbuilding-tests image: 668 successes / 1 failure. The failure is TestRareLike_spec.lua @ 80, which already fails on dev and is fixed by Fix TestRareLike spec failing after level requirement change #10417.

Link to a build that showcases this PR:

https://pobb.in/J35egLGqk6al (from the issue)

Before screenshot:

See the issue: Avenging Flame shows 20% / 6% more damage.

After screenshot:

Avenging Flame uses the Searing Bond totem limit (spec above).

…imit

Avenging Flame is cast by the totems of the skill Flamewood supports, but its
ActiveTotemLimit was summed from its own mod list. Skill-specific limits
(e.g. +N Searing Bond totems from Foulborn The Searing Touch or gem quality)
were lost, so "per maximum number of Summoned Totems" and "per Summoned
Totem" mods scaled from the wrong count. Use the trigger source's cached limit.
CalcPerform takes the totem count for "per Summoned Totem" mods from the
main skill's mod list before triggers run. With Avenging Flame selected it
lost the supported skill's limit, so e.g. Ritual of Awakening regeneration
or armour per totem dropped. Use the totem skill in the same socket group.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Flamewood Support doens't take additional maximum totems from skill gem/Foulborn The Searing Touch into account

1 participant