MobFriendlyFire
Wild monsters' attacks also hurt their allies, without changing who they target. A troll that misses you crushes the greydwarves around it.MobFriendlyFire
Wild monsters' attacks (melee swings, area attacks, projectiles, explosions and lingering zones) also hurt the allied monsters around them. Targeting is unchanged: monsters keep going for the players, the damage they deal to each other is purely accidental. A troll that misses you will happily crush the greydwarves next to you.
Grudge: a monster hurt by an ally may turn on it for a few seconds before coming back for you.
Loot is untouched: a monster killed by an ally drops its loot as usual.
Installation
Install on the server and every client. Creatures are simulated by players, so everyone needs the mod: a client without it (or with a different minor version) is refused on connection. The server's settings are enforced on every player (Jotunn config sync).
Configuration
BepInEx/config/hergey.MobFriendlyFire.cfg (or F1 in game, admins only):
| Setting | Default | Effect |
|---|---|---|
| Enabled | true | Turns monster friendly fire on |
| Damage multiplier | 0.6 | Share of the damage dealt to an ally |
| Hit chance | 1 | Chance that a hit landing on an ally actually hurts it |
| Projectiles | true | Monster projectiles hit allies |
| Explosions | true | Explosions and zones also hit creatures of the same type as their owner |
| Exempt bosses | true | Bosses neither hurt their adds nor get hurt by them |
| Excluded creatures | (empty) | Comma-separated prefab names left out entirely |
| Grudge / Chance | 0.2 | Chance to hold a grudge when hurt by an ally |
| Grudge / Duration seconds | 8 | How long the grudge lasts |
Compatibility
Works alongside EliteCreaturesReborn, Therzie's Monstrum, EpicLoot and NetworkPerformanceSystem (Valheim 1.0, network version 41). Tamed creatures are never affected.
En français
Les coups des monstres sauvages blessent aussi leurs alliés, sans changer leurs cibles. Un monstre blessé par un allié peut s'en venger quelques secondes. À installer sur le serveur et chez tous les joueurs ; la config du serveur s'impose à tous.
