added MidAirCrouch and CHook conditions on sh_stats.lua #263
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Added on the procedural stat system new conditions
It was a condition that i needed alot in the past, now just adding here because it was just that easy to make...
//////
The CHook (She Hulk) condition is a hook related function, where you can change any stat with this condition just with a trigger of CHook.
Here a example from the weapon Ember Celica using the Hook_ConditionHook:
This works, but it can be improved.
It is recommended to have the ConditionHook on the main weapon. Since if you remove the Attachment with the hook, if the CHook condition is "true" then will still be "true", since the hook code that should disable it doesn't exist.
The stats that has CHook, its recommended to be on Attachments in case you use multiple and diferrent ConditionHook triggers.
the Hook_TranslateAnimation will recognize ConditionHook.