Skip to content

Convert PoE1 leech mechanics to PoE2 - #2591

Open
vaisest wants to merge 2 commits into
PathOfBuildingCommunity:devfrom
vaisest:poe2-leech
Open

vaisest wants to merge 2 commits into
PathOfBuildingCommunity:devfrom
vaisest:poe2-leech

Conversation

@vaisest

@vaisest vaisest commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

Fixes #328.

Description of the problem being solved:

From what I can see, PoB2's leech is just based on PoE1 mechanics, which doesn't really seem sensible when PoE2 leech is entirely different. This PR removes a bunch of PoE1-only code and mods, and implements a version of leech that is more like ailment calculations, which are very similar to how leech works. The damage is also capped to 40k here and leech resistances are exported and used.

This is rather clanker-driven (especially the breakdowns), but I feel like this is a more correct direction than incorrectly using PoE1 mechanics. This also intentionally only has the minimum amount of mechanics and mods for PoE2

Steps taken to verify a working solution:

  • Tests
  • Manual testing
  • It can't really be less correct than the previous version

Link to a build that showcases this PR:

After screenshot:

image

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.

Update leech to PoE2 values

1 participant