Skip to content

Fix negative eHP and NaN Max hit values for some builds#9772

Merged
LocalIdentity merged 1 commit into
devfrom
fix_inf-ehp
Apr 17, 2026
Merged

Fix negative eHP and NaN Max hit values for some builds#9772
LocalIdentity merged 1 commit into
devfrom
fix_inf-ehp

Conversation

@LocalIdentity

Copy link
Copy Markdown
Contributor

Description of the problem being solved:

Some builds could show up having negative eHP values or nan max hit when they have single digit life values
numHits could become negative which would make eHP show up as negative too
Enemy damage conversion could also result in max hit becoming 0 in one part of the code and that would then display as NaN after it tries to divide by 0

Link to a build that showcases this PR:

https://maxroll.gg/poe/pob/qvznz0rl

Before screenshot:

image

After screenshot:

image

Some builds could show up having negative eHP values or nan max hit when they have single digit life values
numHits could become negative which would make eHP show up as negative too
Enemy damage conversion could also result in max hit becoming 0 in one part of the code and that would then display as NaN after it tries to divide by 0
@LocalIdentity LocalIdentity added bug: calculation Numerical differences pob2 Label for features that should be ported over to PoB-PoE2 labels Apr 17, 2026
@LocalIdentity LocalIdentity merged commit cd1d28e into dev Apr 17, 2026
3 checks passed
@LocalIdentity LocalIdentity deleted the fix_inf-ehp branch April 17, 2026 19:10
github-actions Bot pushed a commit to PathOfBuildingCommunity/PathOfBuilding-PoE2 that referenced this pull request Apr 17, 2026
LocalIdentity added a commit to PathOfBuildingCommunity/PathOfBuilding-PoE2 that referenced this pull request Apr 25, 2026
…1799)

* Apply changes from PathOfBuildingCommunity/PathOfBuilding#9772

* Fix merge conflict

---------

Co-authored-by: LocalIdentity <LocalIdentity@users.noreply.github.com>
Co-authored-by: LocalIdentity <localidentity2@gmail.com>
mauriceco2424 added a commit to mauriceco2424/PathOfBuilding that referenced this pull request Jun 16, 2026
Key changes:
- Imbued Supports system (PathOfBuildingCommunity#9670) — replaces alternate quality code (PathOfBuildingCommunity#9758),
  with follow-up fixes for gem list visibility (PathOfBuildingCommunity#9782, PathOfBuildingCommunity#9796), trigger
  supports (PathOfBuildingCommunity#9793), and indexing bugs (PathOfBuildingCommunity#9763). This is the in-league
  replacement for Awakened gems and changes how transfigured supports
  scale.
- Calc fixes wave: skills that can repeat (PathOfBuildingCommunity#9723), Vaal Flameblast base
  AoE (PathOfBuildingCommunity#9704), Generals Cry clones restricted by attack time, Maven
  Memory Game damage (PathOfBuildingCommunity#9757), Hextoad breakdown (PathOfBuildingCommunity#9683), CwC crash with
  multiple link groups (PathOfBuildingCommunity#9682), Searing Bond of Detonation power charges
  (PathOfBuildingCommunity#9695), Tinctures applying without Mana (PathOfBuildingCommunity#9769), Ghost Reaver leech
  with Life Leech sources (PathOfBuildingCommunity#9774), Poisonous Concoction added damage
  from disabled life flasks (PathOfBuildingCommunity#9339), Blade Blast of Dagger Detonation
  Varunastra counting (PathOfBuildingCommunity#9733), converted damage with poison stacks
  (PathOfBuildingCommunity#8991), Chieftain resist nodes Foulborn Choir double-apply (PathOfBuildingCommunity#9643),
  Turbulent catalyst flat lightning scaling (PathOfBuildingCommunity#9775), some buffs applying
  to player and minions wrongly (PathOfBuildingCommunity#9789), negative eHP and NaN Max hit
  (PathOfBuildingCommunity#9772), Dual Wield mastery thrusting+non-thrusting (PathOfBuildingCommunity#9761).
- Ring slot 3 fixes (PathOfBuildingCommunity#9686, PathOfBuildingCommunity#9730) — mods applying when Unseen Hand
  isn't allocated.
- Build comparison tab (PathOfBuildingCommunity#9543) — pure UI, headless mode unaffected.
- New spectres: Conjuror of Rot (PathOfBuildingCommunity#9702), Unholy Aberration (PathOfBuildingCommunity#9731).
- Trader improvements (PathOfBuildingCommunity#9691), Watcher's eye trade search (PathOfBuildingCommunity#9649),
  duplicate-search fix (PathOfBuildingCommunity#9767), stale state guard (PathOfBuildingCommunity#9742).
- Lesson of Seasons spell barkskin mod (PathOfBuildingCommunity#9820).
- Lingering Blades extends to Animate Weapon of Ranged Arms.
- Runtime DLLs bumped to SimpleGraphic v2.5.3 (PathOfBuildingCommunity#9395) — affects desktop
  PoB UI only; headless API runtime is the bundled LuaJIT.
- Releases 2.64.0 and 2.65.0.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug: calculation Numerical differences pob2 Label for features that should be ported over to PoB-PoE2

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant