PathOfBuildingCommunity / PathOfBuildingCommunity/PathOfBuilding

Mana Cost per Second with Max Unleash Seals is incorrect

Abierto
#9,602 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

bug: calculation
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
  1. Select Arc as the main skill
  2. Add Unleash Support to Arc
  3. Tick on Do you wait for Max Unleash Seals?
  4. See incorrect first Mana Cost per Second
  5. Enter into custom modifiers 100% increased cast speed
  6. See incorrect second Mana Cost per Second
PoB for PoE1 build code

https://pobb.in/m6HgOinymvTt

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

Guía de contribución

Abrir la guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. 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

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.