PathOfBuildingCommunity / PathOfBuildingCommunity/PathOfBuilding
incorrect evasion calculations when having negative evasion in custom config(to emulate eldritch altars)
Nobody has claimed this yet.
- Dominant language
- Lua
- Stars
- 5.4k
- Forks
- 2.4k
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 26
Description
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?
so when I was checking this bug https://www.pathofexile.com/forum/view-thread/3884196 since they mentioned they had used POB, I imported their juggernaut and added -6000 evasion to the custom config, when checking calculations it shows that negative flat number on the global base line, however when mousing over the total line it seems it completely ignores negative values so it outputs a positive total number instead of the reality which is 0.
What is the value from the calculation in Path of Building?
Base from armours 754
global base -4,284
inc from tree 615%, total 1,207%
total more 30%
Total Line calculation: 754 x13.07 x1.3 getting a positive number
negative global base ignored for final calculation, works correctly when positive
How to reproduce the issue
load attached POB and look at calculations for evasion rating
PoB for PoE1 build code
https://pobb.in/scAUBR461tbR
Screenshots
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by loading the linked PoB build and inspecting the evasion rating in the Calculations view with the negative custom configuration. Compare the displayed total against the positive-value case and trace the evasion calculation entry point; done means the total reflects negative global base values correctly rather than producing a positive result.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- lua
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100