PathOfBuildingCommunity / PathOfBuildingCommunity/PathOfBuilding
Negative damage and 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 issues by using the search function of the issue tracker
What is the expected behaviour/value?
You can't deal negative damage or duration so expected to see zero here.
The only notable stat is projectile speed which I think is capped at 1%.
What is the actual behaviour/value?
Some stats can become negative when they shouldn't e.g. damage or duration, regen, etc.



How to reproduce the issue
Add alt quality defiance banner and ashes of the star and observe negative duration in panel.
Add enfeeble with 500% curse effect and see negative damage on player.
This likely effect a bunch of other multipliers and should likely apply to all reduced and less multipliers capped to x 0. Except maybe some special cases.
Character build code
https://poe.ninja/pob/EgI
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
Inizia riproducendo il problema con il codice della build PoE Ninja fornito: aggiungi Defiance Banner e Ashes of the Stars con qualità alternativa, quindi prova Enfeeble con il 500% di effetto delle maledizioni. Traccia i calcoli delle statistiche che producono durata, danno, rigenerazione e altri moltiplicatori «reduced» o «less» negativi. Il lavoro è completato quando i valori negativi non validi vengono impediti, mentre i casi speciali legittimi rimangono corretti.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- lua
- Ambito
- game-dev
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100