ZoulTeam-MobFriendlyFire icon

MobFriendlyFire

Wild monsters' attacks also hurt their allies, without changing who they target. A troll that misses you crushes the greydwarves around it.

Last updated 2 weeks ago
Total downloads 242
Total rating 1 
Categories Mods Tweaks Enemies Server-side AI Generated
Dependency string ZoulTeam-MobFriendlyFire-1.2.4
Dependants 0 other packages depend on this package

This mod requires the following mods to function

ValheimModding-Jotunn-2.30.2 icon
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.2
denikson-BepInExPack_Valheim-5.4.2351 icon
denikson-BepInExPack_Valheim

BepInEx pack for Valheim. Preconfigured with the correct entry point for mods and preferred defaults for the community.

Preferred version: 5.4.2351

README

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.