PathOfBuildingCommunity / PathOfBuildingCommunity/PathOfBuilding
Mana Cost per Second with Max Unleash Seals is incorrect
Nadie ha tomado este issue todavía.
- Lenguaje dominante
- Lua
- Estrellas
- 5.4k
- Forks
- 2.4k
- Merge medio
- 1 d 12 h
- PR fusionados (30 d)
- 26
Descripción
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 using Unleash Support, I believe it should be calculated as
Mana Cost * Cost Multiplier * Hit Rate = Mana Cost * Cost Multiplier * (1 / Time to Gain Max Seals)
So the value would be 15.13 Mana/s (with placeholder stats):
- Mana Cost = 23
- Cost Multiplier = 1.4
- Hit Rate = 0.47
- Time to Gain Max Seals = 2.13s
- Cast Rate = 1.5s
23* 1.4 * (1 / 2.13)= 15.13 Mana/s`
What is the value from the calculation in Path of Building?
In PoB using Unleash support, when Hit Rate is based on Time to Gain Max Seals (https://github.com/PathOfBuildingCommunity/PathOfBuilding/issues/9601), PoB calculates it as Mana Cost * Cost Multiplier * Time to Gain Max Seals (calling the time "Full Unleash Speed"). It appears to be using max seal time as the rate instead.
So PoB produces the incorrect value 68.57 Mana/s (with placeholder stats):
- Mana Cost = 23
- Cost Multiplier = 1.4
- Hit Rate = 0.47
- Time to Gain Max Seals = 2.13s
- Cast Rate = 1.5/s
23* 1.4 * 2.13 = 68.57 Mana/s
When instead, Hit Rate is based on Cast Rate (currently when Cast Rate * 1.1 > Time to Gain Max Seals), PoB calculates it as Mana Cost * Cost Multiplier * Cast Rate * 1.1
- Mana Cost = 23
- Cost Multiplier = 1.4
- Hit Rate = 0.47
- Time to Gain Max Seals = 2.13s
- Cast Rate = 3/s
23* 1.4 * 3.3 = 106.26 Mana/s
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?
- See incorrect first Mana Cost per Second
- Enter into custom modifiers
100% increased cast speed - See incorrect second Mana Cost per Second
PoB for PoE1 build code
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:
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Línea de trabajo
Reproduce el problema con Arc y Unleash Support siguiendo los pasos indicados y usando el código de build de PoE1 enlazado. Empieza por el cálculo de Unleash del coste de maná por segundo, comprobando tanto la rama max-seal-time como la rama cast-rate. Se considera completado cuando ambas ramas usan el comportamiento de hit-rate indicado y coinciden con los valores de Mana/s esperados.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- lua
- Área
- backend
- Tipo de issue
- Error
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 48/100