MARCROCK22-BerserkerOrbFix icon

BerserkerOrbFix

Fixes BerserkerEnemies_Reborn bug where berserker enemies never drop their orbs. One-line transpiler fix.

Last updated 5 hours ago
Total downloads 19
Total rating 0 
Categories Monsters AI Generated
Dependency string MARCROCK22-BerserkerOrbFix-0.0.1
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 two bugs with berserker orbs.

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.

Installation

Install via r2modman or Thunderstore Mod Manager. Requires BerserkerEnemies_Reborn.