Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
MobFriendlyFire
Wild monsters' attacks also hurt their allies, without changing who they target. A troll that misses you crushes the greydwarves around it.
By ZoulTeam
| Date uploaded | 2 weeks ago |
| Version | 1.2.4 |
| Download link | ZoulTeam-MobFriendlyFire-1.2.4.zip |
| Downloads | 213 |
| Dependency string | ZoulTeam-MobFriendlyFire-1.2.4 |
This mod requires the following mods to function
ValheimModding-Jotunn
Jötunn (/ˈjɔːtʊn/, 'giant'), the Valheim Library was created with the goal of making the lives of mod developers easier. It enables you to create mods for Valheim using an abstracted API so you can focus on the actual content creation.
Preferred version: 2.30.2denikson-BepInExPack_Valheim
BepInEx pack for Valheim. Preconfigured with the correct entry point for mods and preferred defaults for the community.
Preferred version: 5.4.2351README
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.
CHANGELOG
1.2.4
- English description and README (French summary kept at the end).
- No gameplay change.
1.2.3
- Default damage to allies: 60 %.
1.2.0
- Added "Hit chance" setting.
- Grudge chance default lowered to 20 %.
1.1.0
- Server-enforced settings and version check (Jotunn).
- Grudge: monsters hurt by an ally may turn on it for a few seconds.
- Excluded creatures list.
- Startup log line with the active settings.
1.0.0
- First release.