Agility

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

Passive stamina regeneration based on your Stamina, Crouch Rest, and Speed upgrade levels for R.E.P.O.

模組介紹 作者原文

Agility

A BepInEx mod for R.E.P.O. that adds passive stamina regeneration based on your agility-related upgrade levels.

What This Mod Does

Your Stamina, Crouch Rest, and Sprint Speed upgrades now contribute to a passive stamina regeneration rate. The more you invest in these agility stats, the faster your stamina recovers — making high-mobility builds even more rewarding in longer runs.

How It Works

The combined level of your three agility stats determines your regen rate:

| Stamina | Crouch Rest | Speed | Combined | Regen/sec (default) |

|---------|-------------|-------|----------|---------------------|

| 1 | 0 | 0 | 1 | 0.3/sec |

| 2 | 1 | 1 | 4 | 1.2/sec |

| 3 | 2 | 2 | 7 | 2.1/sec |

| 5 | 3 | 3 | 11 | 3.3/sec |

The regeneration is subtle and designed to be useful over time — it won't make you invincible, but it rewards investing in agility stats.

Movement States

Regen now depends on what you're doing. The rate from the table above is your base rate; your current movement state multiplies it, so you recover fastest while resting and not at all while running:

| State | Multiplier (default) | Effect |

|-----------------------------|----------------------|----------------------------|

| Running (sprinting) | x0 | No regen while sprinting |

| Walking (moving) | x0.5 | Half regen on the move |

| Standing still | x1 | Full base regen |

| Crouching + standing still | x2 | Double regen while resting |

Example: with a 3.3/sec base rate, you regen 0/sec while sprinting, 1.65/sec while walking, 3.3/sec standing still, and 6.6/sec crouched and still. All four multipliers are configurable.

Configuration

Settings are in BepInEx/config/headclef.Agility.cfg:

[Stamina Regeneration]

| Key | Default | Description |

|-----|---------|-------------|

| Enable | true | Toggle stamina regen on/off |

| Base Regen Per Second | 0 | Flat regen regardless of stats (0 = none) |

| Regen Per Combined Level | 0.3 | Extra regen per combined agility level |

| Max Regen Per Second | 0 | Cap the base (standing-still) rate before the movement multiplier (0 = no cap) |

[Movement Multipliers]

| Key | Default | Description |

|-----|---------|-------------|

| Sprinting Multiplier | 0 | Regen multiplier while running |

| Walking Multiplier | 0.5 | Regen multiplier while walking |

| Standing Multiplier | 1 | Regen multiplier while standing still |

| Crouching Still Multiplier | 2 | Regen multiplier while crouching and still |

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 Agility.dll into your BepInEx/plugins folder.
  • Launch the game — config file is generated on first run.

Multiplayer

  • Stamina regeneration runs per-client — only players with the mod installed get the regen.
  • Does not affect other players or enemies.

Changelog

v1.2.1

  • Updated the Character Stats dependency to 1.2.0.

v1.2.0

  • Movement-aware regen — stamina now recovers based on what you're doing: none while running, half while walking, full while standing still, and double while crouched and still.
  • Added a [Movement Multipliers] config section so each state's multiplier can be tuned.
  • The Max Regen Per Second cap now applies to the base (standing-still) rate before the movement multiplier.

v1.1.0

  • Passive stamina regen scaling from the combined level of Stamina + Crouch Rest + Speed upgrades (via Character Stats).

Development

Project Structure

├── Agility.cs # Plugin entry point & config

├── Patches/

│ └── StaminaRegenPatch.cs # Harmony postfix — stamina regen

└── 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)

安裝與使用 安裝:BepInEx 外掛

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

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

前置依賴

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

BepInEx-BepInExPackheadclef-CharacterStats

檔案與校驗

檔案名稱
Agility-1.2.2.zip
檔案大小
106.1 KiB