Skip to content

Conversation

@NekoTiki
Copy link
Contributor

@NekoTiki NekoTiki commented Aug 1, 2025

Modifications toward this issue: #44

Signed-off-by: NekoTiki <17910933+nekotiki@users.noreply.github.com>
@NekoTiki NekoTiki marked this pull request as draft August 1, 2025 23:11
@NekoTiki
Copy link
Contributor Author

NekoTiki commented Aug 1, 2025

Saw some edge cases where it didn't work properly

  • cooldown not working
  • pull is always 0 when not random

…onditions being met

Signed-off-by: NekoTiki <17910933+NekoTiki@users.noreply.github.com>
@NekoTiki NekoTiki marked this pull request as ready for review August 2, 2025 20:40
@NekoTiki
Copy link
Contributor Author

NekoTiki commented Aug 2, 2025

Fixed the cooldown issue and after testing the pull always behind at zero was my phys bone being configured badly 😄

@LucHeart LucHeart requested a review from Copilot August 3, 2025 23:29
Copy link
Contributor

Copilot AI left a 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 OnPullTriggerRandomBehavior to 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

LucHeart and others added 5 commits August 4, 2025 01:32
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>
@LucHeart LucHeart merged commit fe7fca3 into OpenShock:develop Aug 3, 2025
2 checks passed
@LucHeart LucHeart linked an issue Aug 3, 2025 that may be closed by this pull request
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.

[Feature Request] Physbone Pull "full" random

2 participants