Skip to content

Conversation

@senft-research
Copy link

PR to add logic to allow custom weights for modifiers to be applied to monsters.

- Next commit will add exception try-catches, cleanup, and documentation.
- Refactored Plugin.cs to have a dedicated method for initializing the config values for modifiers.
- Added documentation to ModifierConfigHandler.cs & initialized configModifierWeights dictionary.
…hrown in invalid cases

- MonsterModifiers.csproj updated with location of ModifierConfigHandler.cs in compile includes.
… Roslyn compiler (to avoid mismatches on Linux when building).
@jneb802
Copy link
Owner

jneb802 commented Aug 20, 2025

@senft-research The default modifier values in modiferValues.yaml are not persisting into the BepinEx config file.

I have two modifiers intentionally disabled by default and would like to keep them default disabled.

@senft-research
Copy link
Author

Will be actioning this specifically this evening :)

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.

2 participants