warpalicious-Monster_Modifiers icon

Monster Modifiers

Monsters spawn with random infusions, effects, or modifiers for increased challenge.

Last updated 3 weeks ago
Total downloads 3934
Total rating 4 
Categories Mods Enemies Server-side Client-side Bog Witch Update
Dependency string warpalicious-Monster_Modifiers-1.0.16
Dependants 18 other packages depend on this package

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.2202 icon
denikson-BepInExPack_Valheim

BepInEx pack for Valheim. Preconfigured and includes unstripped Unity DLLs.

Preferred version: 5.4.2202
ValheimModding-Jotunn-2.21.3 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.21.3

README

MonsterModifiers

Monster Modifiers

This mod adds 26 modifiers that are randomly assigned to a monster when it spawns. A monster will have one modifier per star.

Features

  • Adds 26 monster modifiers.
  • Modifiers are not applied to bosses, only standard monsters.
  • One modifier per monster star. Two star monster = two unique modifiers.
  • Replaces monster star icons with modifier icons.

Modifier Details

Modifier Name Icon Color Description
Stamina Siphon Potion Yellow Monster attack also drains stamina.
Eitr Siphon Potion Purple Monster attack also drains eitr.
Shield Breaker ShieldBroken Yellow If blocked, monster attacks reduce shield durability by 50%.
Ignore Armor ShieldBroken Red Monster attacks ignore 50% of armor.
Food Drain Apple Red Monster attacks reduce random food duration by 50%.
Fire Infused Sword Red Monster attacks do fire damage.
Frost Infused Sword Light Blue Monster attacks do frost damage.
Poison Infused Sword Green Monster attacks do poison damage.
Lightning Infused Sword Yellow Monster attacks do lightning damage.
Remove Status Effect Sword Purple Monster attack removes one random status effect.
Personal Shield Circle Red Monster spawns with personal shield.
Shield Dome Circle Yellow Monster spawns with shield dome, blocking projectiles from outside.
Soul Eater Asterisk Red When nearby monster dies, increase monster health, damage, and size.
Fast Movement PlusBox Red Monster has 50% increased movement speed.
Fast Attack Speed PlusBox Yellow Monster has 50% increased attack speed.
Distant Detection PlusBox Purple Monster detection and view range increased by 2x.
Elemental Immunity Shield Purple Monster immune to all elemental damage. Limit one immunity modifier
Physical Immunity Shield Red Monster immune to all physical damage. Limit one immunity modifier
Stagger Immune Shield Yellow Monster immune to stagger.
Poison Death Skull Green Poison cloud on monster death.
Fire Death Skull Red Fire nova on monster death.
Frost Death Skull Light Blue Frost nova on monster death.
Heal Death Skull Purple Healing nova on monster death.
Stagger Death Skull Yellow Stagger bomb on monster death. After 2-4 seconds, stagger all characters in 5m range
Tar Death Skull Brown Apply Tarred status effect to all characters in 5m range
Blood Loss Blood Red Player takes 30% max health damage when blood loss exceeds max health.
Absorption Heart Light Blue Monster heals for 100% of damage types it's immune to.

I've tried my best to make the icon color system simple. The icons roughly categorize the modifiers as:

  • Potion: Monster damage applied to another player stat
  • Broken Shield: Monster ignores armor or breaks shield
  • Apple: Monster has food drain
  • Sword: Monster attack is infused
  • Circle: Monster has shield
  • Asterisk: Monster has Soul Eater
  • Plus Square: Monster has improved attribute
  • Shield: Monster has immunnity
  • Skull: Monster spawns something on death

Modifier Mechanics

Elemental Infusions (Fire, Frost, Poison, Lightning)

  • The damage of the infusion is equal to the total damage of the creatures current attack.
  • For example, a wolf bite does 80 damage with 0 stars and standard world level.
  • If this wolf has Fire Infused, then it will do an additional 80 fire damage when attacking.

Death Spawns (Fire, Frost, Frost)

  • Death spawn damage is 50% of creatures highest attack damage value.
  • Most Valheim creatures have multiple attacks available to them. Death spawn uses the highest available attack value.
  • If a creature has no attacks (ex. Deer) then it's death spawn damage is 10.

Heal Death

  • Heals both player and nearby monsters.
  • Heal amount is 75% of modified monsters max health.
  • Healing will tick 10 times, where each tick is equal to total heal amount divided by 10.

Blood Loss

  • When a monster with blood loss attacks the player, the player will receive a "Blood Loss" status effect.
  • While having this status effect, each attack monster attack will increase the total Blood Loss amount on the player. The amount of increase is equal to the creatures attack damage.
  • The Blood Loss amount is shown below the Blood Loss status effect icon
  • When Blood Loss amount exceeds players max health, they will take 30% of their max health as Slash damage.
  • Blood Loss amount will reset to 0 after one minute.

Compatibility

This mod is mostly compatible with CreatureLevelandLootControl (CLLC).

  • Not compatible with CLLC special effects and infusions. Disable these in the CLLC config file.
  • CLLC max monster level cap works fine. I encourage using this feature to increase total modifiers per monster!

Commands

The mod includes a terminal command to spawn a creature with given modifier.

  • The command is modifier
  • The command takes two parameters: creatureName and modifierName
  • The creatureName should be the name of the creatures prefab.
  • Both parameters are case sensitive (i.e "skeleton" will not work)
  • Modifier names are written in PascalCase with no spaces. (i.e. "FireInfused" is correct. "Fire infused" is wrong)
  • The command will always spawn a one star monster.
  • Example: modifier Skeleton FireInfused

Credit & Thanks

This was a complex software project and I couldn't have done it without the help of the following mod developers:

  • Coemt: Thank you for teaching me the fundamentals.
  • Oriana: Thank you for accompanying me late into the night solving problems in this mod.
  • Azumatt: Thank you for helping me solve my sprite problems.

Mod Support & Feeback.

Please feel free to share any any all feedback or ask questions. You can find me on my own modding Discord.

Known Issues

  • There is a list of yellow warnings from Unity about incorrect shaders at the beginning of your log. This does not cause any game breaking bugs, just an warning.
  • I've removed the shieldDome modifier until I can solve a bug where it remains after a creature dies in a multiplayer scenario.

Donations/Tips

I make mods because I enjoy it and want to make Valheim more enjoyable for everyone. If you feel like saying thanks you can tip me here.

My Ko-fi: ko-fi

Source Code

Source code is available on Github.

Github Repository: MonsterModifiers