Melee Buff (Outward BepInEx Plugin)
This plugin gives players:
- 2x physical damage dealt while a melee weapon is equipped and Max Mana is below 50.
- 50% less damage taken from all sources while a melee weapon is equipped and Max Mana is below 50.
- A single persistent buff status marker (
MeleeBuff_Active) while conditions are active.
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.
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 for Outward (if not already installed).
- Copy
MeleeBuff.dll into:
<OutwardFolder>\BepInEx\plugins\
- 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.