PathOfBuildingCommunity / PathOfBuildingCommunity/PathOfBuilding
Multiple incorrect errors when searching for ring to replace ring with life reservation efficiency
Nobody has claimed this yet.
- Dominant language
- Lua
- Stars
- 5.4k
- Forks
- 2.4k
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 26
Description
Check version
- I'm running the latest version of Path of Building and I've verified this by checking the changelog
Check for duplicates
- I've checked for duplicate open and closed issues by using the search function of the issue tracker
How is Path of Building expected to behave?
Minimum behavior to solve the issue:
When I click "Find best", PoB displays an error message that makes sense. For example "Cannot generate weighted search because one or more modifiers on the item being replaced increases your EHP by infinity."
Beyond the bug into feature request territory:
I want PoB to generate a link that includes life reservation efficiency as a required mod, and the remaining mods by weight as it currently does. This is what I do to work around the issue. Happy to split this into a separate feature request if the team likes the idea and wants me to split it.
How does Path of Building behave?
When I click "Find best", PoB generates an error message.
How to reproduce the issue
I created a minimal build for this issue and referenced it in the steps below. If I need to provide steps to repro from scratch, please let me know.
- Load the character build code.
- On the Items tab, click "Trade for these items."
- Adjust search weights such that Effective Hit Pool is at 1.00 and all other weights are zero.
- On the Ring 1 slot, click "Find Best".
Observe error:
Could not generate search, change active skill or enable FullDPS on some skills.
- On the Skills tab, enable the "Include in Full DPS" option for Smite.
- Once again attempt to generate an item for the Ring 1 slot.
Observe error
Could not generate search, found no mods to search for.
I believe the problem is that without life reservation efficiency on the ring, the character would have an EHP value of -inf. When PoB attempts to find a replacement, it probably fails because the weighted value of life reservation efficiency is infinitely higher than every other modifier. This seems like something PoB could detect and, at the very least, display a more appropriate error message.
Related to #6119. The main difference is that in #6119, it is not possible to improve on infinite EHP. The character in this issue has a finite EHP, and it is possible (albeit more difficult than usual) to improve.
Character build code
https://pobb.in/TEmwxlYacqpX
Screenshots
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Load the supplied PoB build, then reproduce the issue through Items > Trade for these items > Find Best, first with only Effective Hit Pool weighted and then with Smite included in Full DPS. Investigate the two error paths and compare them with the behavior described in related issue #6119; done means the failure is reported accurately, with the life reservation efficiency feature request treated separately if needed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- lua
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100