BerserkerOrbFix
Fixes BerserkerEnemies_Reborn bugs: orb drop, explosion crash, containModded flag, and missing enemies (Hidden, Cleanup Crew).
About this mod Author’s original text
BerserkerOrbFix
A patch mod for BerserkerEnemies_Reborn that fixes several bugs.
Bugs Fixed
- Orbs never drop — Berserker enemies never dropped their custom orbs when killed. The mod was checking max HP (always > 0) instead of current HP (0 when dead), so the death condition was never met. Fixed with a Harmony Transpiler that corrects the field access.
- Orbs crash instead of exploding at high levels — At Moon Level 4+ (level 20+), enemy orbs are supposed to explode on destruction. The berserker orb prefab was missing the explosion object, causing a NullReferenceException. Fixed by injecting the vanilla explosion (with damage, particles, and camera shake) into berserker orbs at spawn.
- containModded always true — The containModded flag defaulted to true and was never set to false, causing modded enemy names (Gusher, Roaster, etc.) to always appear in the eligible list even without those mods installed. Fixed by re-checking installed DLLs after load.
- Missing enemies — Hidden and Cleanup Crew were missing from the berserker-eligible enemy list. Added both as toggleable config entries in BerserkerEnemies' own config file under [Enemies].
Installation
Install via r2modman or Mod Manager. Requires BerserkerEnemies_Reborn.
Install & use Install: BepInEx plugin
- The archive from playbuff is the mod itself — usually a BepInEx plugin (a .dll or a plugin folder once unzipped).
- Recommended: use a community mod manager (such as r2modman) — pick this game, import the mod, and the manager sets up BepInEx and its dependencies for you.
- Manual route: install the BepInEx loader in the game folder, then drop the unzipped .dll or plugin folder into BepInEx/plugins/.
- Launch the game — the BepInEx console logs every plugin it loads; seeing this mod in the log means it is installed.
Mods with listed dependencies need those installed too, or they will not load. Options are usually changed in-game or in the plugin's config file.
Dependencies
Install these first, or the mod will not work:
BepInEx-BepInExPackAolion-BerserkerEnemies_Reborn