PathOfBuildingCommunity / PathOfBuildingCommunity/PathOfBuilding

Hit Rate with Max Unleash Seals is incorrect when Cast Rate is high enough

Offen
#9,601 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

bug: calculation
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
Check for support
  • I've checked that the calculation is supposed to be supported. If it isn't please open a feature request instead (Red text is a feature request).
What platform are you running Path of Building on?

Windows

What is the value from the calculation in-game?

In-game when waiting for Max Unleash Seals, I believe Hit Rate should be calculated as the lower of the following two:

  1. 1 / Time to Gain Max Seals
  2. Cast Rate / (1 + Max Seals * 0.1)

So the value would be (with placeholder stats):

  • Time to Gain Max Seals = 1.5s
  • Cast Rate = 3/s
  • Max Seals = 8
  • 1 / Time to Gain Max Seals = 1 / 1.5 = 0.67 Hit Rate
  • Cast Rate / (1 + Max Seals * 0.1) = 3 / (1 + 8 * 0.1) = 1.67 Hit Rate
  • 0.67 is the lower of the two, so that should be the Hit Rate used
What is the value from the calculation in Path of Building?

In PoB, when config is set to Wait for Max Unleash Seals, PoB calculates Hit Rate as whichever is lower:

  1. 1 / Time to Gain Max Seals
  2. 1 / (Cast Rate * 1.1)

So it calculates the incorrect value (with placeholder stats):

  • Time to Gain Max Seals = 1.5s
  • Cast Rate = 3/s
  • Max Seals = 8
  • 1 / Time to Gain Max Seals = 1 / 1.5 = 0.67 Hit Rate
  • 1 / (Cast Rate * 1.1) = 1 / (3 * 1.1) = 0.30 Hit Rate
  • 0.30 is the lower of the two, so it chooses that (and so higher cast speed = lower hit rate and DPS currently)
How to reproduce the issue
  1. Select Arc as the main skill
  2. Add Unleash Support to Arc
  3. Tick on Do you wait for Max Unleash Seals?
  4. Increase cast speed until (Cast Rate * 1.1) > Time to Gain Max Seals (On new file, 100% increased cast speed is enough)
  5. See incorrect Hit Rate based on inverse of 110% of Case Rate
PoB for PoE1 build code
https://pobb.in/-OiTWyTB33fj
Screenshots

When Time to Gain Max Seals is greater than 110% of Cast Rate:
Image

When 110% of Cast Rate is greater than Time to Gain Max Seals:
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

Reproduziere das Problem mit dem verknüpften PoE1-Build-Code unter Verwendung von Arc, Unleash Support und „Do you wait for Max Unleash Seals?“. Verfolge die Trefferquotenberechnung für diese Einstellung und überprüfe anschließend, ob sie den niedrigeren Wert aus der Siegelgewinnrate und dem Ausdruck für die Zauberrate verwendet, der Max Seals einbezieht; bestätige das Ergebnis bei hoher Zaubergeschwindigkeit.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
lua
Bereich
game-dev
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
45/100

Neue Issues direkt in Ihr Postfach

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