MeleeBuff
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.BuildDamagedamage 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 buildingMeleeBuff.dll.assets/logo.svg: mod logo you can use in release pages/manifests.icon.png: Thunderstore icon (must be 256×256 PNG).resize-icon.ps1: rescalesicon.pngto 256×256 (run after swapping in a larger image).package-thunderstore.ps1: build + normalize icon + zip for Thunderstore upload.
Thunderstore icon (256×256)
Thunderstore requires icon.png to be exactly 256×256. If you drop in a larger image:
powershell -ExecutionPolicy Bypass -File .\resize-icon.ps1
package-thunderstore.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 (Thunderstore / r2modman will pull both).
-
Copy
MeleeBuff.dlland theIconsfolder (withMeleeBuff_Status.png) into the sameBepInEx\plugins\tree as the DLL (the png must be at...\plugins\Icons\MeleeBuff_Status.pngrelative to the DLL directory). Thunderstore zips already lay this out underplugins\. -
Launch the game once.
-
Check logs:
<OutwardFolder>\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.
