PathOfBuildingCommunity / PathOfBuildingCommunity/PathOfBuilding
DPS comparison does not apply certain buffs and debuffs to Total Mirage DPS.
Personne n'a encore pris cette issue.
- Langage dominant
- Lua
- Étoiles
- 5.4k
- Forks
- 2.4k
- Merge moyen
- 1 j 12 h
- PR mergées (30 j)
- 26
Description
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?
The comparison preview should report proportional (same percentage) changes in 'Total/DoT DPS' and 'Total Mirage DPS'. In particular, when considering a change that has no effect on dps, the comparison preview shouldn't mention dps changes at all.
What is the actual behaviour/value?
If certain damage buffs or debuffs are applied, comparison previews will calculate the difference between current Mirage DPS numbers as displayed on the left (which properly includes those buffs and debuffs) and its newly calculated Mirage DPS (which does not include aforementioned buffs and debuffs).
Examples of effects that create this behavior: Frenzy charges, Empower support, I don't know if there are any others
Examples that do not create this behavior: Malevolence, Despair
I also want to mention Tailwind, which doesn't create issues overall, but its effect specifically doesn't show up in the comparison when allocating or deallocating Gathering Winds. Same goes for the Corruption passive.
How to reproduce the issue
- Equip a bow.
- Slot Toxic Rain supported by Mirage Archer.
- Click on the minor passive directly before Disciple of the Slaughter.
- Spec and unspec Disciple of the Slaughter to compare DPS comparison with actual effect on DPS numbers on left.
- Hover an unrelated passive to see unexpected effect on Mirage DPS.
- Slot Empower with Toxic Rain and Mirage Archer to see the same effect.
Build code
https://pastebin.com/9B366mi7
Screenshots



Guide de contribution
Ouvrir le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Piste de recherche
Commencez par reproduire l’aperçu de comparaison avec le code de build fourni, Toxic Rain, Mirage Archer, Frenzy charges et Empower, en suivant les étapes indiquées. Le payload ne nomme aucun fichier source ni test ; retracez donc le calcul de la comparaison à partir du comportement de l’aperçu. La tâche est terminée lorsque le DPS de Mirage reflète les mêmes buffs et debuffs que le DPS de Total/DoT et que les changements sans rapport ne signalent pas de fausses différences.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- lua
- Domaine
- game-dev
- Type d'issue
- Bug
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 35/100