PathOfBuildingCommunity / PathOfBuildingCommunity/PathOfBuilding
Penance Brand of Conduction calculates its damage per hit rate, not per duration
Nessuno ha ancora preso questa issue.
- 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 is the value from the calculation in-game?
The new Penance Brand of Conduction does not do damage each time it activates, only when it detaches from the enemy. PoB appears to be calculating its damage each time the skill activates and not once per duration.
Example:
Penance Brand of Conduction should see a DPS decrease when linked with Increased Duration
What is the value from the calculation in Path of Building?
Example: On a level 1 character with a 20/0 Penance Brand of Conduction, PoB shows a Full DPS of 8725 (Average Hit x Hit Rate for this setup). This value is incorrect, because PBoC only does damage once, when it expires.
Actual DPS for this setup should be: Average Hit / max(Cast Time, Skill Duration) or 1308 / max(0.75, 0.528) = 1744 for this simple setup.
To further show this, Penance Brand of Conduction should see lower DPS when linked with Increased Duration, because it will take longer to expire once attached and therefore longer between damage instances.
When linking PBoC to Increased Duration in PoB 2.39.0, there is no change to Full DPS at all, but the new DPS should be: 1308 / max(0.75, 0.825) = ~1538.
How to reproduce the issue
- Select Penance Brand of Conduction as the main skill
- Take note of the Full DPS calculation, and the Skill Duration
- Make a 2-link with Increased Duration Support
- Note that DPS does not change, even though in game this setup would do less DPS due more time between damage instances
Character build code
eNq1W9134rgOf579K3J4n_KRgbZ76O6hn9NzypQL7czdpzkmMeCtE7OxQ8v-9Veyk5AyOE1ILg9tiKWfJdmSJSUM_3wLuLOhkWQivGh1Tzoth4ae8Fm4vGg9P91-Pmv9-cdvwwlRq8fFZcw4jvzx26ehvnY43VAOfC1HkWhJ1fcUyf0JSGsSqhUV4Zj8LaI74V-0vomQtpw5CX2m0m8eJ1J-IwG9aM08YG45RHo09K929xPCFY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ytmlC9yGB-ol7yPLDjXP13L27KYMXuulTLkf0h5iOH9G9C5idIWZLLaw_b-72r_B5MSFYQ=
Screenshots
No response
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Non sono indicati file o test. Riproduci il problema selezionando Penance Brand of Conduction come abilità principale, registrando Full DPS e Skill Duration, quindi aggiungendo Increased Duration Support; esamina il punto di ingresso del calcolo dell'abilità principale per questa abilità. Il lavoro è completato quando DPS usa Average Hit diviso per max(Cast Time, Skill Duration) e diminuisce all'aumentare della durata.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- lua
- Ambito
- backend, tooling
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 45/100