PathOfBuildingCommunity / PathOfBuildingCommunity/PathOfBuilding
Dominating Blow full DPS calculated incorrectly
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
When calculating Full DPS for Dominating Blow, count >1 multiplies both the DPS from the sentinel and the DPS from the player, even though it should only multiple DPS from the sentinel.
E.g. if one sentinel deals 100 DPS and the player deals 50 DPS, setting count to 10 will result in (100*10)+(50*10) = 1500 DPS, rather than the correct (100*10)+50 = 1050 DPS.
- What steps will reproduce the bug?
Add Dominating Blow to Full DPS calculations, and put in any number greater than 1 for the count - Does it reproduce every time?
Yes - Provide a build code:
https://pastebin.com/HhCF1kpf - Screenshots:

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 im Berechnungspfad für Dominating Blow Full DPS und reproduziere das Problem mit dem bereitgestellten Build-Code unter Verwendung eines sentinel count größer als eins. Verfolge, wie count auf sentinel DPS und player DPS angewendet wird; abgeschlossen ist die Aufgabe, wenn nur sentinel DPS mit count skaliert und das korrigierte Ergebnis durch einen geeigneten Test oder eine verifizierte Berechnung abgedeckt ist.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- lua
- Bereich
- game-dev
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100