Armor
Percentage-based damage reduction from enemies based on your Health and Strength upgrade levels for R.E.P.O.
About this mod Author’s original text
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 (recommended) — Character Stats will be installed automatically.
- Or manually: place both Character Stats.dll and Armor.dll into your BepInEx/plugins folder.
- 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 to give a feedback, I use there more than.
Install & use Install: BepInEx plugin
- The archive from playbuff is the mod itself — usually a BepInEx plugin (a .dll or a plugin folder once unzipped).
- Recommended: use a community mod manager (such as r2modman) — pick this game, import the mod, and the manager sets up BepInEx and its dependencies for you.
- Manual route: install the BepInEx loader in the game folder, then drop the unzipped .dll or plugin folder into BepInEx/plugins/.
- Launch the game — the BepInEx console logs every plugin it loads; seeing this mod in the log means it is installed.
Mods with listed dependencies need those installed too, or they will not load. Options are usually changed in-game or in the plugin's config file.
Install these first, or the mod will not work: