PathOfBuildingCommunity / PathOfBuildingCommunity/PathOfBuilding
Hit Rate with Max Unleash Seals is incorrect when Cast Rate is high enough
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 open and closed issues by using the search function of the issue tracker
Check for support
- I've checked that the calculation is supposed to be supported. If it isn't please open a feature request instead (Red text is a feature request).
What platform are you running Path of Building on?
Windows
What is the value from the calculation in-game?
In-game when waiting for Max Unleash Seals, I believe Hit Rate should be calculated as the lower of the following two:
1 / Time to Gain Max SealsCast Rate / (1 + Max Seals * 0.1)
So the value would be (with placeholder stats):
- Time to Gain Max Seals = 1.5s
- Cast Rate = 3/s
- Max Seals = 8
1 / Time to Gain Max Seals=1 / 1.5 = 0.67 Hit RateCast Rate / (1 + Max Seals * 0.1)=3 / (1 + 8 * 0.1) = 1.67 Hit Rate- 0.67 is the lower of the two, so that should be the Hit Rate used
What is the value from the calculation in Path of Building?
In PoB, when config is set to Wait for Max Unleash Seals, PoB calculates Hit Rate as whichever is lower:
1 / Time to Gain Max Seals1 / (Cast Rate * 1.1)
So it calculates the incorrect value (with placeholder stats):
- Time to Gain Max Seals = 1.5s
- Cast Rate = 3/s
- Max Seals = 8
1 / Time to Gain Max Seals=1 / 1.5 = 0.67 Hit Rate1 / (Cast Rate * 1.1)=1 / (3 * 1.1) = 0.30 Hit Rate- 0.30 is the lower of the two, so it chooses that (and so higher cast speed = lower hit rate and DPS currently)
How to reproduce the issue
- Select Arc as the main skill
- Add Unleash Support to Arc
- Tick on Do you wait for Max Unleash Seals?
- Increase cast speed until (Cast Rate * 1.1) > Time to Gain Max Seals (On new file, 100% increased cast speed is enough)
- See incorrect Hit Rate based on inverse of 110% of Case Rate
PoB for PoE1 build code
https://pobb.in/-OiTWyTB33fj
Screenshots
When Time to Gain Max Seals is greater than 110% of Cast Rate:
When 110% of Cast Rate is greater than Time to Gain Max Seals:
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
Tái hiện vấn đề bằng mã build PoE1 được liên kết, sử dụng Arc, Unleash Support và “Do you wait for Max Unleash Seals?”. Truy vết phép tính tỷ lệ đánh trúng cho thiết lập đó, sau đó xác minh rằng nó sử dụng giá trị thấp hơn giữa tỷ lệ nhận seal và biểu thức tốc độ niệm phép có liên quan đến Max Seals; xác nhận kết quả ở tốc độ niệm phép cao.
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ó
- 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