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

Clamp metabolism enchantment to prevent lag #73591

Merged
merged 1 commit into from May 9, 2024

Conversation

GuardianDll
Copy link
Contributor

Summary

None

Purpose of change

Fix #72781

Describe the solution

Clamp result value to prevent negative numbers, that will loop for a looong time down the line, in weariness step

Testing

Compiled the game, applied effect that applies -10x metabolism
image
observed unedited version with the same effect:
image

Additional context

Doesn't fix the weariness issues when you have low metabolism

@github-actions github-actions bot added [C++] Changes (can be) made in C++. Previously named `Code` <Bugfix> This is a fix for a bug (or closes open issue) json-styled JSON lint passed, label assigned by github actions astyled astyled PR, label is assigned by github actions BasicBuildPassed This PR builds correctly, label assigned by github actions labels May 8, 2024
@Maleclypse Maleclypse merged commit 581c99b into CleverRaven:master May 9, 2024
28 checks passed
@GuardianDll GuardianDll deleted the clamp_metabolism branch May 9, 2024 16:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
astyled astyled PR, label is assigned by github actions BasicBuildPassed This PR builds correctly, label assigned by github actions <Bugfix> This is a fix for a bug (or closes open issue) [C++] Changes (can be) made in C++. Previously named `Code` json-styled JSON lint passed, label assigned by github actions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[MoM] Metabolic Hyperefficiency causes major lag spikes with higher intelligence
2 participants