PathOfBuildingCommunity / PathOfBuildingCommunity/PathOfBuilding

Mana cost rounding errors.

Abierto
#9,015 2 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?
  1. Craclking lance of Disintegration level 3 (15 base mana cost) with CWDT support (2.5 multi) + enhance (1.2 multi) + conc effect (1.4 multi). Total mana cost should be 63
  2. Craclking lance of Disintegration level 2 (14 base mana cost) with CWDT (2.5 multi) + enhance (1.2 multi) + archmage with 850 max unreserved mana. Total mana cost should be 168
What is the value from the calculation in Path of Building?
  1. Craclking lance of Disintegration level 3 (15 base mana cost) with CWDT support (2.5 multi) + enhance (1.2 multi) + conc effect (1.4 multi). Total mana cost should be 63, but its 62 in POB. In the calculation tab it shows that it multiplies by 4.19999.
  2. Craclking lance of Disintegration level 2 (14 base mana cost) with CWDT (2.5 multi) + enhance (1.2 multi) + archmage with 850 max unreserved mana. Total mana cost should be 168, but its 171 in the POB. In the calculation tab it shows that base mana cost is 57 (14 + 43). 43 comes from Archmange support with 850 unreserved mana. 850 * 0.05 = 42.5. So total base cost should be 56.
How to reproduce the issue
  1. Craclking lance of Disintegration level 3 (15 base mana cost) with CWDT support (2.5 multi) + enhance (1.2 multi) + conc effect (1.4 multi). Total mana cost should be 63
  2. Craclking lance of Disintegration level 2 (14 base mana cost) with CWDT (2.5 multi) + enhance (1.2 multi) + archmage with 850 max unreserved mana.
PoB for PoE1 build code
https://pobb.in/vUucOnSt7-P4
Screenshots

No response

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

Empieza cargando el código de build de PoB enlazado y reproduciendo ambos casos en la pestaña Calculation, centrándote en el cálculo del coste de maná y su comportamiento de redondeo. Se considera completado cuando Path of Building muestra 63 para la primera configuración y 168 para la segunda, coincidiendo con los valores del juego.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
lua
Área
game-dev
Tipo de issue
Error
Dificultad
3/5
Tiempo estimado
1-2 días
Estado de actividad
Tranquilo
Claridad
Bastante claro
Aptitud para principiantes
48/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.