-
-
Notifications
You must be signed in to change notification settings - Fork 12
feat: Add option for random behavior on pull trigger #45
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: Add option for random behavior on pull trigger #45
Conversation
Signed-off-by: NekoTiki <17910933+nekotiki@users.noreply.github.com>
|
Saw some edge cases where it didn't work properly
|
…onditions being met Signed-off-by: NekoTiki <17910933+NekoTiki@users.noreply.github.com>
|
Fixed the cooldown issue and after testing the pull always behind at zero was my phys bone being configured badly 😄 |
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.
Pull Request Overview
This PR adds a new feature that allows users to enable random intensity behavior when pull triggers are activated, instead of using distance-based intensity calculations. This addresses issue #44 by providing an alternative shock behavior mode.
- Added a new boolean configuration option
OnPullTriggerRandomBehaviorto control random intensity behavior - Updated both global and group-specific UI configurations to include the new pull trigger random option
- Modified the physbone handling logic to use random intensity selection when this option is enabled
Reviewed Changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 5 comments.
| File | Description |
|---|---|
| SharedBehaviourConfig.cs | Added new boolean property for pull trigger random behavior configuration |
| GroupsTab.razor | Added UI checkbox and tooltip for group-specific pull trigger random behavior setting |
| ConfigTab.razor | Added UI checkbox and tooltip for global pull trigger random behavior setting |
| ShockOsc.cs | Implemented logic to check random behavior setting and use random intensity when enabled |
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Modifications toward this issue: #44