Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correctly handle 100% reduced reservation efficiency and greater. #4514

Conversation

QuickStick123
Copy link
Contributor

@QuickStick123 QuickStick123 commented Jul 3, 2022

Fixes #4332.

Description of the problem being solved:

This fixes sources that reduce mana reserved to zero not applying globally on infinite mana reservations such as 100 reduced mana efficiency. This primarily is for essence worm.

Steps taken to verify a working solution:

  • Mana & life reserved is now correctly at 0 when looking in the panel.
  • 100% reduced efficiency and greater now correctly display inf this coincides with ingame.
  • Greater than 100% reduced acts as 100% reduced (infinite reservation)
    image

Link to a build that showcases this PR:

https://poe.ninja/pob/BMq

Screenshots

Essence worm + memory vault (socketed in essence worm)

Before

image

After

image

2 Essence worms not socketed (160% reduced efficiency)

Before

image
image

After

image
image

2 Essence worms socketed

Before

image

After

image

This fixes the multiplier of 0 * infinity equaling infinity not zero.

extend to reduced mana reserved as well
…fficiency behave as 100% reduced as in game.
@QuickStick123 QuickStick123 changed the title Fix essence worm at 100 reduced efficiency. Correctly handle 100% reduced reservation efficiency and greater. Jul 4, 2022
@QuickStick123 QuickStick123 added bug Something isn't working bug: accuracy Wording differences labels Jul 7, 2022
@Wires77 Wires77 merged commit 644dd41 into PathOfBuildingCommunity:dev Jul 10, 2022
@QuickStick123 QuickStick123 deleted the Fix--100-mana-reseravtion-efficiency-and-essence-worm branch September 15, 2022 01:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug: accuracy Wording differences bug Something isn't working
Projects
None yet
2 participants