PathOfBuildingCommunity / PathOfBuildingCommunity/PathOfBuilding

Multiple incorrect errors when searching for ring to replace ring with life reservation efficiency

Offen
#7,641 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

bug
Vorherrschende Sprache
Lua
Sterne
5.4k
Forks
2.4k
Ø Merge
1 T. 12 Std.
Gemergte PRs (30 T.)
26

Beschreibung

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.

  1. Load the character build code.
  2. On the Items tab, click "Trade for these items."
  3. Adjust search weights such that Effective Hit Pool is at 1.00 and all other weights are zero.
  4. On the Ring 1 slot, click "Find Best".

Observe error:
Could not generate search, change active skill or enable FullDPS on some skills.

  1. On the Skills tab, enable the "Include in Full DPS" option for Smite.
  2. 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

image

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Rechercherichtung

Lade den bereitgestellten PoB-Build und reproduziere das Problem über Items > Trade für diese Items > Find Best, zunächst nur mit Effective Hit Pool gewichtet und anschließend mit Smite in Full DPS. Untersuche die beiden Fehlerpfade und vergleiche sie mit dem in verwandten Issue #6119 beschriebenen Verhalten; als erledigt gilt die Aufgabe, wenn der Fehler korrekt gemeldet wird und der Feature Request zur Effizienz der Lebensreservierung bei Bedarf separat behandelt wird.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
lua
Bereich
tooling
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.