PathOfBuildingCommunity / PathOfBuildingCommunity/PathOfBuilding
Mana cost rounding errors.
Đang mở
Chưa có ai nhận issue này.
bug: calculation
- 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?
- Craclking lance of Disintegration level 3 (15 base mana cost) with CWDT support (2.5 multi) + enhance (1.2 multi) + conc effect (1.4 multi). Total mana cost should be 63
- Craclking lance of Disintegration level 2 (14 base mana cost) with CWDT (2.5 multi) + enhance (1.2 multi) + archmage with 850 max unreserved mana. Total mana cost should be 168
What is the value from the calculation in Path of Building?
- Craclking lance of Disintegration level 3 (15 base mana cost) with CWDT support (2.5 multi) + enhance (1.2 multi) + conc effect (1.4 multi). Total mana cost should be 63, but its 62 in POB. In the calculation tab it shows that it multiplies by 4.19999.
- Craclking lance of Disintegration level 2 (14 base mana cost) with CWDT (2.5 multi) + enhance (1.2 multi) + archmage with 850 max unreserved mana. Total mana cost should be 168, but its 171 in the POB. In the calculation tab it shows that base mana cost is 57 (14 + 43). 43 comes from Archmange support with 850 unreserved mana. 850 * 0.05 = 42.5. So total base cost should be 56.
How to reproduce the issue
- Craclking lance of Disintegration level 3 (15 base mana cost) with CWDT support (2.5 multi) + enhance (1.2 multi) + conc effect (1.4 multi). Total mana cost should be 63
- Craclking lance of Disintegration level 2 (14 base mana cost) with CWDT (2.5 multi) + enhance (1.2 multi) + archmage with 850 max unreserved mana.
PoB for PoE1 build code
https://pobb.in/vUucOnSt7-P4
Screenshots
No response
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 mã build PoB được liên kết và tái hiện cả hai trường hợp trong tab Calculation, tập trung vào phép tính mana cost và cách làm tròn của nó. Được xem là hoàn tất khi Path of Building báo cáo 63 cho thiết lập đầu tiên và 168 cho thiết lập thứ hai, khớp với các giá trị trong game.
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
- Ít trao đổi
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 48/100