
Armor
Percentage-based damage reduction from enemies based on your Health and Strength upgrade levels for R.E.P.O.Armor
A BepInEx mod for R.E.P.O. that gives you percentage-based damage reduction from enemies based on your Health and Strength upgrade levels.
What This Mod Does
Your Health and Strength upgrades now contribute to a passive armor effect. The higher the damage you receive, the more the reduction matters — making tanky builds more viable in late-game runs.
How It Works
Formula: taken = baseDamage × (1 − combinedLevel × reductionPerLevel)
| Health | Strength | Combined | Reduction (default) | 50 dmg hit → | 100 dmg hit → |
|---|---|---|---|---|---|
| 1 | 0 | 1 | 2% | 49 | 98 |
| 3 | 2 | 5 | 10% | 45 | 90 |
| 5 | 5 | 10 | 20% | 40 | 80 |
| 10 | 10 | 20 | 40% | 30 | 60 |
| 15 | 10 | 25 | 50% (capped) | 25 | 50 |
No stats = no reduction. You must invest in Health or Strength to benefit. Minimum 1 damage is always dealt.
Configuration
Settings are in BepInEx/config/headclef.Armor.cfg or in the in-game mod config menu:
| Key | Default | Range | Description |
|---|---|---|---|
| Enable | true |
— | Toggle damage reduction on/off |
| Reduction Per Combined Level | 0.02 |
0.005–0.1 | Reduction % per combined level (0.02 = 2%) |
| Max Reduction | 0.50 |
0.1–0.9 | Maximum reduction cap (0.50 = 50%) |
Requirements
- BepInEx 5.x installed for R.E.P.O.
- Character Stats — required dependency
Installation
- Install via Thunderstore (recommended) — Character Stats will be installed automatically.
- Or manually: place both
Character Stats.dllandArmor.dllinto yourBepInEx/pluginsfolder. - Launch the game — config file is generated on first run.
Multiplayer
- Damage reduction runs per-client — only players with the mod installed get the armor.
- Does not affect other players or enemies.
Development
Project Structure
├── Armor.cs # Plugin entry point & config
├── Patches/
│ └── DamageReductionPatch.cs # Harmony prefix — damage reduction
└── README.md
Building
This project is part of the Repo.slnx solution and references Character Stats at compile time. Build the whole solution so dependencies build in the correct order:
dotnet build ../Repo.slnx
License
This project is licensed under the MIT License — see the LICENSE file for details.
These mods (all) generated by using AI tools. If there's anything wrong use NexusMods to give a feedback, I use there more than ThunderStore.