-
Notifications
You must be signed in to change notification settings - Fork 65
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
feat: Features.CustomStats #130
base: dev
Are you sure you want to change the base?
Conversation
Thats things i think would make it able to set to 0 instead of being forced to something like 0.0001 or into the negatives which may cause issues |
Co-authored-by: Nameless <[email protected]>
/// <summary> | ||
/// Fix for <see cref="CustomStaminaStat"/>. | ||
/// </summary> | ||
[HarmonyPatch(typeof(FpcStateProcessor), nameof(FpcStateProcessor.UpdateMovementState))] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am pretty sure there a way to not having to patch this event it's also in the wrong file
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should prob be transpiler but idk
/// <summary> | ||
/// Fix for <see cref="CustomStaminaStat"/>. | ||
/// </summary> | ||
[HarmonyPatch(typeof(FpcStateProcessor), nameof(FpcStateProcessor.UpdateMovementState))] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should prob be transpiler but idk
This needs testing, I made it work previously but this is a redo of it so not 100% itll work |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will review later on why this is needed
Description
Describe the changes
Add Features.CustomStats
What is the current behavior? (You can also link to an open issue here)
What is the new behavior? (if this is a feature change)
Ability to set MaxStamina & MaxHumeShield
Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)
Other information:
Types of changes
Submission checklist
Patches (if there are any changes related to Harmony patches)
Other