PathOfBuildingCommunity / PathOfBuildingCommunity/PathOfBuilding
Negative damage and duration
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- Lua
- Sterne
- 5.4k
- Forks
- 2.4k
- Ø Merge
- 1 T. 12 Std.
- Gemergte PRs (30 T.)
- 26
Beschreibung
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
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Beginne damit, das Problem mit dem bereitgestellten PoE Ninja-Build-Code zu reproduzieren: Füge Defiance Banner und Ashes of the Stars mit alternativer Qualität hinzu und probiere dann Enfeeble mit 500 % Fluchwirkung aus. Verfolge die Stat-Berechnungen, die negative Dauer, Schaden, Regeneration und andere „reduced“- oder „less“-Multiplikatoren erzeugen. Als erledigt gilt die Aufgabe, wenn ungültige negative Werte verhindert werden, während legitime Sonderfälle weiterhin korrekt bleiben.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- lua
- Bereich
- game-dev
- Issue-Typ
- Bug
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100