Viking do armor skill

Viking do armor skill

Adds three fully integrated progression skills (Heavy, Light, and Magic Armor) to Valheim, rewarding your choice of equipment with passive bonuses, movement speed improvements, faster heavy weapon attacks, and accelerated crossbow reloads.

Armor Skills (Heavy, Light, Magic)



## 📖 Overview

**Armor Skills** introduces three fully integrated progression skills to Valheim: **Heavy Armor**, **Light Armor**, and **Magic Armor**.

This mod rewards your choice of equipment. As you fight and take combat hits while wearing specific armor pieces, your respective skill level increases from **0 to 100**, unlocking powerful passive bonuses, mitigating movement speed penalties, accelerating heavy weapon attacks, speeding up crossbow reloads, and enhancing magical capabilities.

---

## 🛠️ Features & Skill Mechanics

### 🛡️ Heavy Armor
* **Armor Protection Bonus:** Increases your total armor defense by up to **+20%** at skill level 100 (when wearing 2 heavy pieces).
* **Movement Penalty Mitigation:** Gradually removes movement speed penalties from heavy armor sets, heavy two-handed weapons (greatswords, battleaxes, sledges), and crossbows up to **100%**.
* **Heavy Weapon Mastery:** Wielding heavy two-handed weapons grants a run speed bonus (**+10%**), reduces attack stamina consumption (**-30%**), and multiplies attack animation speed (up to **2.0x**).
* **Crossbow Mastery:** Accelerates crossbow firing animation and cuts reload time in half (**2.0x** reload speed, instantly reflected in the crosshair progress circle). Also grants a run speed bonus (**+10%**) while equipped.
* **Fall Damage Reduction:** Reduces fall damage by up to **50%** at level 100.

### 🏃 Light Armor
* **Run Speed Bonus:** Increases movement and run speed by up to **+15%** at skill level 100 (2 light pieces).
* **Stamina Efficiency:** Reduces stamina consumption for running, jumping, dodging, and attacking by up to **30%**.
* **Agile Dodging:** Speeds up dodge roll animations (up to **2.0x** multiplier).
* **Fall Damage Reduction:** Reduces fall damage by up to **50%**.

### ✨ Magic Armor
* **Eitr Regeneration:** Boosts Eitr regeneration rate by up to **+100%** at skill level 100 (2 magic pieces).
* **Spell Cost Reduction:** Lowers Eitr consumption for all spells by up to **30%**.
* **Mobility & Magic:** Increases run speed (**+15%**), removes magic armor movement penalties, and boosts jump height/force (**+30%**).
* **Feather Fall:** Grants **100%** fall damage reduction at skill level 100.

---

## 📈 Experience & Progression

* **How to Gain XP:** Gain experience by taking combat hits (including successful blocks, parries, and magic shields) while wearing matching armor pieces, or by landing attacks on enemies.
* **Death Penalty:** Configurable skill level loss upon death (default: max 1 level lost, preserving your hard-earned progress).
* **Skill Persistence:** Levels and accumulators are safely saved to character custom data and local backup files.

---

## ⚙️ Configuration

The mod features a comprehensive configuration file (`com.custom.armorskills.cfg`) generated in your `BepInEx/config` folder after the first run. You can freely adjust:
* Global XP multipliers and base XP per hit.
* Skill level loss on death.
* Individual percentage bonuses and multipliers for Heavy, Light, and Magic armor stats.
* Debug logging options.

---

## 📋 Requirements & Dependencies

* **Valheim** (Latest version recommended)
* **BepInExpack Valheim**
* **Jōtun - The Valheim Library**

---

## 📦 Installation

1. Make sure you have **BepInEx** and **Jötunn** installed.
2. Extract the `ArmorSkillsMod.dll` and the `icons/` folder into your `BepInEx/plugins/` directory.
3. Launch the game and enjoy!

---

## 🤝 Compatibility & Credits

* Fully compatible with standard saves and custom character setups.
* Icons created and packed specifically for Jötunn skill integration.