PathOfBuildingCommunity / PathOfBuildingCommunity/PathOfBuilding

DPS comparison does not apply certain buffs and debuffs to Total Mirage DPS.

オープン
#3,429 コメント 5 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

bug
主要言語
Lua
スター
5.4k
フォーク
2.4k
平均マージ
1日 12時間
マージ済み PR(30日)
26

説明

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
  1. Equip a bow.
  2. Slot Toxic Rain supported by Mirage Archer.
  3. Click on the minor passive directly before Disciple of the Slaughter.
  4. Spec and unspec Disciple of the Slaughter to compare DPS comparison with actual effect on DPS numbers on left.
  5. Hover an unrelated passive to see unexpected effect on Mirage DPS.
  6. Slot Empower with Toxic Rain and Mirage Archer to see the same effect.
Build code
https://pastebin.com/9B366mi7
Screenshots

PoB_Issue
PoB_Issue1
PoB_Issue2

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

まず、記載された手順に従い、提供された build code、Toxic Rain、Mirage Archer、Frenzy charges、Empower を使って比較プレビューを再現します。payload にはソースファイルもテストも記載されていないため、プレビューの挙動から比較計算を追跡してください。完了条件は、Mirage DPS が Total/DoT DPS と同じ buffs と debuffs を反映し、無関係な変更で誤った差分が報告されないことです。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
lua
領域
game-dev
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。