PathOfBuildingCommunity / PathOfBuildingCommunity/PathOfBuilding

DPS preview when swapping out lynchpin gem shows output for next default skill, sometimes misleadingly

Đang mở
#948 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

bug
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ả

  • What happened?

Messing with supports for a minion, I had their Infernal Legion DPS selected for Main Skill. When I then moved to the dropdown for picking a different support in the Infernal Legion slot, the preview tooltip claimed that changing to Elemental Focus would give me an unrealistic +1M DPS boost.

If I select the gem previewed, it changes my Main Skill to Minion Instability, with the resulting DPS matching the "+DPS inc. Poison" part of the strange preview. I'm not sure where the +1M Total DPS comes from.

  • What were you trying to do?

No clear use case here--you typically don't want to be swapping out the gem that gives you your "Main Skill" DPS anyway. It was an accidental encounter while exploring gem options. But in a less obviously-wrong case it could mislead someone about their DPS prospects!

  • What steps will reproduce the bug?
  1. Create a new build
  2. Add a minion skill and Infernal Legion support
  3. Go to the dropdown from Infernal Legion and hover over a different support. Note the possibly strange preview numbers
  4. Select the new gem. The Main Skill changes, with its numbers resembling the preview.
  • Does it reproduce every time? If not, why so?

Yes, although the specific numbers vary wildly depending on the rest of the build's setup.

  • Additional information:

image

https://pastebin.com/EnA8AuZk

Suggested fix would be to have any such preview say that it's removing all the DPS, making clear that you're effectively deleting that source of damage.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Hướng nghiên cứu

Tái hiện vấn đề bằng cách tạo một build mới, thêm một kỹ năng minion với Infernal Legion và di chuột qua một support khác trong menu thả xuống của kỹ năng đó. Theo dõi các điểm vào của phần xem trước và lựa chọn gem để tìm hiểu lý do Main Skill thay đổi, sau đó xác minh rằng phần xem trước phản ánh rõ ràng việc loại bỏ nguồn DPS hiện tại và không còn báo cáo các tổng số gây hiểu lầm.

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
desktop
Loại issue
Lỗi
Độ khó
3/5
Thời gian dự kiến
1-2 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
45/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.