PathOfBuildingCommunity / PathOfBuildingCommunity/PathOfBuilding
DPS comparison does not apply certain buffs and debuffs to Total Mirage DPS.
Chưa có ai nhận issue này.
- Ngôn ngữ chính
- Lua
- Star
- 5.4k
- Fork
- 2.4k
- Merge trung bình
- 1 ngày 12 giờ
- Pull request đã merge (30 ngày)
- 26
Mô tả
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



Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Hướng nghiên cứu
Bắt đầu bằng cách tái hiện bản xem trước so sánh với build code được cung cấp, Toxic Rain, Mirage Archer, Frenzy charges và Empower, theo các bước đã liệt kê. payload không nêu tên tệp nguồn hoặc test, vì vậy hãy lần theo phép tính so sánh từ hành vi của bản xem trước; được xem là hoàn tất khi Mirage DPS phản ánh cùng các buff và debuff như Total/DoT DPS, đồng thời các thay đổi không liên quan không báo cáo những khác biệt giả.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- lua
- Lĩnh vực
- game-dev
- Loại issue
- Lỗi
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 35/100