You are viewing a potentially older version of this package. View all versions.
TythorZeth-SkillPenaltyFix-1.0.1 icon

SkillPenaltyFix

Valheim's 5% skill loss can cost you more than 5%. SkillPenaltyFix accounts for progress toward your next level, with customizable penalties and support for modded skills.

Date uploaded 13 hours ago
Version 1.0.1
Download link TythorZeth-SkillPenaltyFix-1.0.1.zip
Downloads 22
Dependency string TythorZeth-SkillPenaltyFix-1.0.1

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.2360 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.2360

README

SkillPenaltyFix

SkillPenaltyFix applies your configured death penalty to each skill's level and its progress towards the next level together. At level 50 with a half-full bar, a 5% penalty leaves you at level 47 with the bar 97.5% full. Equipment and status bonuses are excluded from the death calculation.

The mod uses its own percentage even in worlds with the Hardcore skill reset. Valheim still handles inventory loss, tombstones, respawning and the temporary No skill drain protection.

Installation

  1. Disable any other mods that change skill loss on death.
  2. Import the ZIP into your mod manager, or copy SkillPenaltyFix.dll from the ZIP into the active profile's BepInEx/plugins directory.
  3. Start Valheim and load a character. Edit BepInEx/config/local.valheim.skillpenaltyfix.cfg with the game closed. Restart to load the settings.

The mod runs on each player's client. Each player uses their own configuration in multiplayer.

Configuration

Set All skills under [Death Penalty] to control the default for every skill. It starts at 5%. Enter a number from 0 to 100 for a percentage. Use 0 for no loss or 100 to remove all progression in the skill on an unprotected death.

  • Under [Category penalties], leave a category at Use global or give it its own percentage.
  • Under [Skill penalties], leave a skill at Use category or give it its own percentage. A skill's percentage takes priority over its category and the global setting.

For example, set All skills to 5, Combat to 2, and Bows to 0. Bows lose nothing, other Combat skills lose 2%, and the other categories still use 5%.

When updating from the previous version, old skill values of 5 become Use category, since that version prefilled 5 on every skill. Other saved skill percentages carry over.

Category Skills
Combat Swords, Knives, Clubs, Polearms, Spears, Axes, Bows, Crossbows, Blocking, Unarmed, Elemental Magic, Blood Magic, and detected Scythes and Throwing
Movement Run, Jump, Sneak, Swim, Dodge, Ride
Gathering Wood Cutting, Pickaxes, Fishing, and detected Foraging
Crafting Cooking, Crafting, Farming, and detected Jewelcrafting
Modded Other skills added by mods

Detected modded skills appear under [Modded skill penalties] with stable numeric keys and names in the comments. Their entries start at Use category. SkillPenaltyFix takes over the death penalty from supported SkillManager skills.

Advanced options

  • Protect level 100 skills defaults to false. When enabled, a trained skill at 100 is exempt. A trained skill at 95 with a +20 bonus still takes its configured penalty.
  • Allow bonus effects above 100 defaults to false. Training always stops at 100. When enabled, equipped and temporary bonuses can benefit supported formulas above 100, up to Max effective skill level (120 by default). Supported effects include weapon damage, some stamina costs, bow draw, reload time, fishing, and farming. Mods that implement their own skill formulas can have their own limits.

CHANGELOG

Changelog

1.0.1

  • Added an All skills setting with a default death penalty of 5%.
  • Added category and individual skill overrides. An individual setting takes priority over its category, and a category setting takes priority over All skills.
  • Added Use global and Use category options for inheritance. Detected modded skills follow the same rules.
  • Renamed advanced configuration keys to use spaces for clearer labels in mod managers.
  • When upgrading from the per-skill config, old values of 5 become Use category. Other valid percentages carry over.

1.0.0

  • Initial version. Includes progress toward the next skill level in death penalties, detects modded skills, and offers optional protection for skills trained to level 100 and support for bonuses above level 100.