PathOfBuildingCommunity / PathOfBuildingCommunity/PathOfBuilding
Hit Rate with Max Unleash Seals is incorrect when Cast Rate is high enough
Nessuno ha ancora preso questa issue.
- Lingua principale
- Lua
- Stelle
- 5.4k
- Fork
- 2.4k
- Merge medio
- 1g 12h
- PR unite (30g)
- 26
Descrizione
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 / Time to Gain Max SealsCast 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 RateCast 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 / Time to Gain Max Seals1 / (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 Rate1 / (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
- Select Arc as the main skill
- Add Unleash Support to Arc
- Tick on Do you wait for Max Unleash Seals?
- Increase cast speed until (Cast Rate * 1.1) > Time to Gain Max Seals (On new file, 100% increased cast speed is enough)
- 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:
When 110% of Cast Rate is greater than Time to Gain Max Seals:
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Riproduci il problema con il codice della build PoE1 collegato usando Arc, Unleash Support e “Do you wait for Max Unleash Seals?”. Traccia il calcolo della percentuale di colpi per quell'impostazione, quindi verifica che utilizzi il valore più basso tra la velocità di ottenimento dei sigilli e l'espressione della velocità di lancio che coinvolge Max Seals; conferma il risultato a una velocità di lancio elevata.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- lua
- Ambito
- game-dev
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 45/100