Skip to content

Add support for Runic ward - #2146

Merged
LocalIdentity merged 41 commits into
PathOfBuildingCommunity:devfrom
Blitz54:runic-ward
Aug 31, 2026
Merged

Add support for Runic ward#2146
LocalIdentity merged 41 commits into
PathOfBuildingCommunity:devfrom
Blitz54:runic-ward

Conversation

@Blitz54

@Blitz54 Blitz54 commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

Description of the problem being solved:

Adds Ward into PoB2. Lots of the old code still functioned thankfully.

  • Ward regeneration shows on the left side bar, by default it's 5% per second.
  • Ward is changed to last line of defence, in PoE2 it takes damage after life.
  • Fixes parsing of Runic Ward on items.
  • Fixes Armour, ES, and EV rune applying to Ward too.
  • Runic Ward costs for skills
  • Runic Ward cost efficiency
  • Runic Ward cost warning when not enough to use skill
  • Runic Ward on block
  • Add support for Scouring Flame and other supports using same stat
  • Add support for Runic Infusion
  • Add support for Olroth's Hubris
  • Also fixes armour values on tooltip not printing in blue at times that they should.
  • Rune of Equinox - Mana regen also applies to ward
image image

Comment thread src/Modules/CalcDefence.lua Outdated
@Blitz54
Blitz54 marked this pull request as ready for review June 20, 2026 02:58
@LocalIdentity LocalIdentity added the enhancement New feature, calculation, or mod label Aug 30, 2026
LocalIdentity added 2 commits August 31, 2026 08:22
Correct Runic Ward parsing from copied items and account imports while retaining support for the older Ward property name.
Use the in-game “Runic Ward” name consistently across item displays, trade comparisons, costs, recovery, and breakdowns.
Correct Runic Ward EHP and maximum-hit calculations so damage is taken from Life first, bypassed Ward is excluded, and remaining Ward is tracked properly.
Include Runic Ward in damage-over-time pools and total/comprehensive net recovery.
Apply redirected Energy Shield increases additively to Runic Ward without incorrectly applying Energy Shield more multipliers.
Include doubled body-armour defence when calculating Ward.
Add support for Runic Ward regeneration, degeneration, recovery on block, mana-regeneration recovery, and life-flask recovery.
Add calculations for Leylines, Scouring Flame, Runic Infusion, Olroth’s Hubris, and Runic Reprieve costs.
Distinguish between missing Runic Ward and having no Runic Ward in modifier conditions.
Prevent costs derived from another resource from being counted multiple times as Ward costs.
Remove an unrelated duplicate DPS multiplier application.
Prevent item properties without a base value from incorrectly appearing as modified.
Add regression tests covering parsing, importing, costs, recovery, degeneration, EHP, bypass behavior, and Energy Shield-to-Ward modifiers.
@LocalIdentity
LocalIdentity merged commit 47b9789 into PathOfBuildingCommunity:dev Aug 31, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature, calculation, or mod

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants