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

Fixed magic effect updates cause stat value reset #548

Merged
merged 1 commit into from
Dec 8, 2024

Conversation

sven-n
Copy link
Member

@sven-n sven-n commented Dec 5, 2024

Some skills update the max stat, e.g. Swell Life skill. When updating an existing effect, the max stat was reset to the normal value, and directly boosted again. When then the max value is above the current, the current gets capped to the lower max. We prevent that now when the powerups are identical.

Some skills update the max stat, e.g. Swell Life skill. When updating an existing effect, the max stat was reset to the normal value, and directly boosted again. When then the max value is above the current, the current gets capped to the lower max.
We prevent that now when the powerups are identical.
@sven-n sven-n merged commit f057288 into master Dec 8, 2024
3 checks passed
@sven-n sven-n deleted the dev/fix-update-effect branch December 8, 2024 15:18
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.

1 participant