Armor

版本 v1.1.2·更新於 2026-07-06

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 (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.

安裝與使用 安裝:BepInEx 外掛

  1. 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
  2. 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
  3. 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
  4. 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。

帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。

前置依賴

下面這些內容需要先安裝,否則該模組不會生效:

BepInEx-BepInExPackheadclef-CharacterStats

檔案與校驗

檔案名稱
Armor-1.1.2.zip
檔案大小
114.9 KiB