Skip to content

Fix additive flask recovery rates - #10591

Open
Golden007-prog wants to merge 1 commit into
PathOfBuildingCommunity:devfrom
Golden007-prog:fix/10581-flask-tooltip-recovery
Open

Golden007-prog wants to merge 1 commit into
PathOfBuildingCommunity:devfrom
Golden007-prog:fix/10581-flask-tooltip-recovery

Conversation

@Golden007-prog

Copy link
Copy Markdown

Fixes #10581.

Description of the problem being solved

The tooltip and the active recovery calculation treated generic and resource-specific increased flask recovery rates as separate multipliers. Both rates now contribute to the same increased-rate multiplier. The existing more/less multipliers and duration modifiers still apply separately.

Steps taken to verify a working solution

  • The three synthetic tooltip and recovery regressions fail on upstream and pass with the patch.
  • A Small Life Flask using the reported modifiers shows 7.54 seconds. The baseline shows 7.10 seconds.
  • A hybrid flask test verifies distinct life and mana tooltip durations and active recovery rates.
  • The CI image passes the focused flask suite and the complete busted --lua=luajit suite with 931 successes. The generated ModCache matches the checked-in file.

Reproduction

The Small Life Flask and Hallowed Hybrid Flask fixtures in spec/System/TestFlasks_spec.lua provide the tooltip and recovery examples.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Life flask duration additive mods incorrectly multiplied

1 participant