MGDev-Resilience icon

Resilience

Adds a health skill that increases base health as you survive real damage and eat food, compatible with Epic Loot.

By MGDev
Last updated 12 hours ago
Total downloads 41
Total rating 1 
Categories Mods Tweaks Server-side Client-side
Dependency string MGDev-Resilience-1.0.0
Dependants 0 other packages depend on this package

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.2333 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.2333

README

Resilience

Resilience adds a health skill that increases base health as you survive real damage and eat food, compatible with Epic Loot.

The skill increases your base health over time and can also tune the normal player base health while staying cleanly compatible with Epic Loot.

What It Does

Resilience levels from two natural parts of gameplay:

  • Eating food
  • Taking real damage

As the skill rises, your base health increases based on the config value.

By default, level 100 gives +25 base health.

Experience

Food XP is based on the health value of the food:

XP = sqrt(food health) * GeneralXpMultiplier * FoodXpMultiplier

Damage XP is based on final damage actually taken:

XP = sqrt(damage taken) * GeneralXpMultiplier * DamageXpMultiplier

A minimum damage threshold is included so tiny damage ticks can be ignored if you want.

Epic Loot Compatibility

Resilience avoids the risky base-health replacement logic that can conflict with Epic Loot.

Instead, it adds its own health bonus separately, so Epic Loot's magic health effects can stay separate from Resilience health scaling.

Config

After launching the game once, edit:

BepInEx/config/mgdev.resilience.cfg

Main settings:

  • BasePlayerHealth
  • BaseHealthBonusAtLevel100
  • GeneralXpMultiplier
  • FoodXpMultiplier
  • DamageXpMultiplier
  • MinimumDamageForXp
  • DeathSkillLossPercent
  • BukeperriesSkillLossPercent

Most players should only need to adjust base health, the Resilience health bonus, and XP multipliers.

Recommended XP multiplier values are 1 to 10.

You can go higher, but very large values may make the game heavier to process or unstable if pushed too far.

Penalty values are percentages from 0 to 100.

Requirements

  • BepInExPack Valheim

Changelog

1.0.0

  • Initial release.