UndyingAmulet
An inventory-based undying amulet with per-character, per-world cooldown persistence.
模組介紹 作者原文
Undying Amulet
Installation
- Install BepInEx 5 for Valheim.
- Install Jotunn.
- Download and extract this mod package into your Valheim installation folder.
- Start the game.
After extraction, the mod file should be located at:
BepInEx/plugins/ReviveCharm.dll
Usage
- Craft the Undying Amulet using 20 Resin.
- Keep the amulet in your inventory to activate the mod.
- A compact, slow-rising mist surrounds the player's body from all sides while the amulet is available, and rises from the amulet when it is dropped on the ground.
- While the amulet is off cooldown, sprint speed is increased by 50%, all stamina costs are reduced by 50%, and player-caused damage restores health equal to 20% of damage dealt.
- When you receive lethal damage, the amulet restores 50% health and grants 30 seconds of damage immunity.
- The default cooldown is 30 minutes.
- Cooldown is saved separately for each character and world.
- The amulet is not consumed when activated.
Configuration
The config file is created at BepInEx/config/com.valheimmod.revivecharm.cfg.
- Revive/Enabled (default true) - master switch. When false the amulet never activates.
- Revive/CooldownMinutes (default 30) - cooldown before the amulet can trigger again.
- Revive/InvulnerabilitySeconds (default 30) - damage immunity granted after a resurrection.
The resurrect state is stored on the character, so it survives death, relogging and world switching.
The local player also gets a mirror of the cooldown in the config file, written outside of combat.
Uninstallation
Delete this file:
BepInEx/plugins/ReviveCharm.dll
Requirements: Valheim 1.0.15 or newer, BepInEx 5.4.2350 or newer, and Jotunn 2.30.2 or newer.
Building from source
The project targets.NET Framework 4.7.2 and references the game and mod-loader
assemblies from the Valheim installation. Install the.NET Framework 4.7.2
targeting pack, Valheim 1.0.15, BepInEx 5.4.2350, and Jotunn 2.30.2 first.
In PowerShell, set VALHEIM_DIR to the Valheim installation directory, then
build the project:
$env:VALHEIM_DIR = "C:\Program Files (x86)\Steam\steamapps\common\Valheim"
dotnet build.\ReviveCharm.csproj --configuration Release
Use your actual game installation path if it differs. The build expects the
BepInEx, Jotunn, and valheim_Data\Managed assemblies under that directory;
without them, compiler errors about missing game/mod types indicate an
unconfigured or unavailable game installation, not errors in the mod source.
The output DLL is bin\ReviveCharm.dll.
安裝與使用 安裝:BepInEx 外掛
- 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
- 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
- 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
- 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。
帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。 多人連線時,主機與所有用戶端需要安裝一致的模組。
下面這些內容需要先安裝,否則該模組不會生效: