MeleeBuff

版本 v2.2.4·更新於 2026-03-20

Rage: +100% weapon BuildDamage; +1 HP/s; clear burnt (grey) max HP on Rage start; +25% stam; mana forced to 0.

模組介紹 作者原文

Melee Buff (Outward BepInEx Plugin)

While your player has the vanilla boon Rage or Rage Amplified (same names as in the game’s status lists), this plugin adds:

  • +100% to each line on the weapon WeaponDamage.BuildDamage damage list (typed Harmony postfix while Rage is active on the attacker).
  • +1 HP/s while Raging (same reflection-based health writes as before), plus +25% stamina regen.
  • On Rage start: clears burnt health (CharacterStats.BurntHealth — the grey “injured max HP” chunk) so your effective max returns to the real cap.

Mana: during Rage, current and burnt mana are forced to 0 every frame (fields + SetMana attempts). You cannot “save” mana while the boon is up.

There is no SideLoader fake status, no IMGUI overlay, no config: eligibility is only those two status identifier strings.

What this project contains

  • Plugin.cs: BepInEx + Harmony plugin with runtime patching and reflection-based checks.
  • MeleeBuff.csproj: project file for building MeleeBuff.dll.
  • assets/logo.svg: mod logo you can use in release pages/manifests.
  • icon.png: icon (must be 256×256 PNG).
  • resize-icon.ps1: rescales icon.png to 256×256 (run after swapping in a larger image).
  • package-.ps1: build + normalize icon + zip upload.

icon (256×256)

requires icon.png to be exactly 256×256. If you drop in a larger image:

powershell -ExecutionPolicy Bypass -File.\resize-icon.ps1

package-.ps1 also resizes icon.png to 256×256 automatically before zipping.

If you still get a GDI+ error, close anything that has icon.png open (preview tab, image editor), then run the script again.

Build

  • Install the.NET SDK (7+ is fine for building this project).
  • From this folder, run (replace path with your install location):

dotnet restore

dotnet build -c Release -p:OutwardDir="C:\Games\Outward"

Output DLL will be at:

bin\Release\net472\MeleeBuff.dll

Install in Outward

  • Install BepInEx and SideLoader for Outward (r2modman will pull both).
  • Copy MeleeBuff.dll and the Icons folder (with MeleeBuff_Status.png) into the same BepInEx\plugins\ tree as the DLL (the png must be at...\plugins\Icons\MeleeBuff_Status.png relative to the DLL directory). zips already lay this out under plugins\.
  • Launch the game once.
  • Check logs:

\BepInEx\LogOutput.log

You should see Melee Buff initialization and patch counts.

Notes

  • Outward updates/mod stacks can rename internal methods and members. This plugin is implemented with defensive reflection to reduce breakage.
  • If your specific game version uses different method names for damage paths, the plugin may need small patch-target adjustments in Plugin.cs.

安裝與使用 安裝:BepInEx 外掛

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

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

前置依賴

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

BepInEx-BepInExPack_Outward

檔案與校驗

檔案名稱
MeleeBuff-2.2.4.zip
檔案大小
102.2 KiB