No Void Fiend Drone Healing
Prevents Healing Drones, Emergency Drones, and DOC from targeting Void Fiend.
About this mod Author’s original text
No Void Fiend Drone Healing
A small Risk of Rain 2 BepInEx mod that prevents healing drones from selecting Void Fiend as a healing target.
Supported drones:
- Healing Drone (Drone2Body), including compatible body-name variants.
- Emergency Drone (EmergencyDroneBody).
- Operator's DOC (DTHealingDroneBody).
The restriction applies whether Void Fiend owns the drone or belongs to an allied player.
Emergency Drone's additional simultaneous beams also ignore Void Fiend while remaining free to heal other allies.
Installation
Install the mod with a -compatible mod manager. The required runtime
dependencies are:
- bbepis-BepInExPack-5.4.2122
- RiskofThunder-HookGenPatcher-1.2.9
All players should use the same mod version during multiplayer testing.
Building
From the project directory:
dotnet build -c Debug
The normal build output is written to:
bin/Debug/netstandard2.1/NoVoidFiendHealingDroneTarget.dll
After every successful build, the project also refreshes the local package files under, including the DLL/plugins.
If the BepInEx log contains Could not patch BaseAI.FindEnemyHurtBox, a game update probably changed that method and the IL hook must be reviewed.
How it works
- An IL hook removes Void Fiend from the ally search used by healing drone AI.
- An AI evaluation hook rejects remaining direct target selections, including owner targeting paths.
- Emergency Drone's extra-beam predicate excludes Void Fiend from every additional target search.
- Other healing sources are not modified.
Compatibility
The mod deliberately identifies supported drones by their body-name prefixes.
Mods that replace these AI paths or use unrelated custom drone body names may require explicit compatibility support.
License
MIT. See LICENSE.
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.
Install these first, or the mod will not work: