PathOfBuildingCommunity / PathOfBuildingCommunity/PathOfBuilding
Hit Rate with Max Unleash Seals is incorrect when Cast Rate is high enough
Personne n'a encore pris cette issue.
- Langage dominant
- Lua
- Étoiles
- 5.4k
- Forks
- 2.4k
- Merge moyen
- 1 j 12 h
- PR mergées (30 j)
- 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
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:
Guide de contribution
Ouvrir le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Piste de recherche
Reproduisez le problème avec le code de build PoE1 lié en utilisant Arc, Unleash Support et « Do you wait for Max Unleash Seals? ». Suivez le calcul du taux de toucher pour ce paramètre, puis vérifiez qu’il utilise la plus faible des deux valeurs entre le taux de gain de sceaux et l’expression du taux d’incantation impliquant Max Seals ; confirmez le résultat à une vitesse d’incantation élevée.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- lua
- Domaine
- game-dev
- Type d'issue
- Bug
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 45/100