MARCROCK22-BerserkerOrbFix icon

BerserkerOrbFix

Fixes BerserkerEnemies_Reborn bugs: orb drop, explosion crash, containModded flag, and missing enemies (Hidden, Cleanup Crew).

Last updated 2 weeks ago
Total downloads 417
Total rating 0 
Categories Monsters AI Generated
Dependency string MARCROCK22-BerserkerOrbFix-0.0.2
Dependants 0 other packages depend on this package

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2100 icon
BepInEx-BepInExPack

BepInEx pack for Mono Unity games. Preconfigured and ready to use.

Preferred version: 5.4.2100
Aolion-BerserkerEnemies_Reborn-1.6.0 icon
Aolion-BerserkerEnemies_Reborn

When enemies go berserk, your best bet is to panic and hide! A continuation of FNKT_Labs' BerserkerEnemies with new damage scaling, grab immunity, Monster Update support, and more to come in the future. Maybe.

Preferred version: 1.6.0

README

BerserkerOrbFix

A patch mod for BerserkerEnemies_Reborn that fixes several bugs.

Bugs Fixed

  1. 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.

  2. 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.

  3. 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.

  4. 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 Thunderstore Mod Manager. Requires BerserkerEnemies_Reborn.