Skip to content

Support Recoup speed and conditional Deflection - #2598

Open
dzikidziki wants to merge 3 commits into
PathOfBuildingCommunity:devfrom
dzikidziki:codex/recoup-speed-deflection
Open

dzikidziki wants to merge 3 commits into
PathOfBuildingCommunity:devfrom
dzikidziki:codex/recoup-speed-deflection

Conversation

@dzikidziki

@dzikidziki dzikidziki commented Nov 24, 2026 •

Copy link
Copy Markdown

Depends on #2597 (Mending Deflection). This branch includes that PR's commit so the follow-up can be reviewed against dev. The new changes are in commit 2ec6f4a.

Description of the problem being solved

  • Apply Recoup speed to the duration of Life, Mana and Energy Shield Recoup, including recovery from deflected hits. The total amount recovered stays constant.
  • Count Tailwind toward Deflection prevention and model Brush Off against the configured mix of regular and critical incoming hits. Show Staunch Deflection's conditional Bleeding and Maim protection in Calcs.
  • Estimate Recoup from prevented physical hit damage for Made to Last and Scarred Faith, and add an optional incoming hit DPS input for Watchtowers. Refresh the generated modifier cache.

Steps taken to verify a working solution

  • Ran all 31 cases in TestDefence_spec.lua on this branch using the bundled LuaJIT runtime and headless wrapper.
  • Verified that 20% increased Recoup speed shortens the default duration from 8s to 6.67s without changing total recovery.
  • Re-scanned the 0.5 main passive tree. 17 previously unsupported modifier lines across 15 nodes are now recognized.

Life and Mana Recoup follow-up

  • Supports the remaining Recoup entries in the current modifier table, including blocked damage as Mana, prevented Chaos damage during Forsaken Bangle, Blood of the Warrior, Open Weakness, and Offerings.
  • Includes the Recoup granted by Navira's Oasis, Essence Harvest, and Romira's Requital. Frequency-based estimates use explicit Configuration inputs.
  • Adds average recovery per second to the build stats and expands the Recoup breakdowns in Calcs.
  • Validated with 36 defence tests on this branch, a 35-entry modifier audit, and in-build checks for Blood of the Warrior, Forsaken Bangle, Alkem Eira, and Romira's Requital.

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.

1 participant