PathOfBuildingCommunity / PathOfBuildingCommunity/PathOfBuilding

Mana Cost per Second with Max Unleash Seals is incorrect

Aperta
#9,602 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

bug: calculation
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 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

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Direzione di ricerca

Riproduci il problema con Arc e Unleash Support seguendo i passaggi elencati e usando il codice della build PoE1 collegato. Inizia dal calcolo di Unleash del costo di mana al secondo, verificando sia il ramo max-seal-time sia il ramo cast-rate. L'attività è completata quando entrambi i rami usano il comportamento di hit-rate segnalato e corrispondono ai valori di Mana/s previsti.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
lua
Ambito
backend
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
48/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.