Confirm with your password

WarfareTweaks

Tunes Therzie Warfare and WarfareFireAndIce weapon effects through server-synced YAML, assigning native effects to any prefab. Adds durability-based throwing axes, suppress health-scaled dot damage, and safer Chain Lightning.

Client & Server

· Website

Stars
0
Downloads
7
Version
1.0.3
Updated
Author
sighsorry
Virus scan
✓ Scan successful
Runs on
Client & Server
Required by
1 mods

Compatibility

Required 1

Install these too — Gale pulls them in for you.
  • Warfare Therzie ·1.8.9 ·Not on Hexium

Description

WarfareTweaks

Tunes Therzie Warfare and WarfareFireAndIce weapon effects through server-synced YAML, assigning native effects to any prefab. Adds durability-based throwing axes, health-scaled damage fixes, and safer Chain Lightning.



Made some warfare effects have tooltips too.


Warfare effects can be assigned to other weqpons.


Throwing axes is treated like normal weapons with durability. So it can be enchnated with EpicLoot and Jewelcrafting.

Highlights

  • Assigns Warfare-native effects to Warfare, WarfareFireAndIce, vanilla, or other modded weapon prefabs.
  • Supports fixed-hit-count effects such as Adrenaline, Haste, Vampirism, Bleeding, Bash, Executioner, Decapitator, Smasher, Juggernaut, Lightning Burst, and Chain Lightning.
  • Restores and protects Chain Lightning behavior so one activation does not repeatedly damage the same large-collider target.
  • Fixes health-scaled damage handling so percent-health effects use safer, consistent damage values.
  • Adds durability-based throwing axe handling for Warfare throw axes.
  • Includes ItemManager sync fixes for four Warfare weapons that need updated item data handling.
  • Avoids counting SecondaryAttacks or CaptainValheim generated projectile/follow-up damage as ordinary direct Warfare weapon-effect hits when their bridge data is available.
  • Includes soft compatibility hooks for Warfare, WarfareFireAndIce, Jewelcrafting throwables, and ItemManager sync behavior.

Configuration

WarfareTweaks creates:

  • BepInEx/config/WarfareTweaks.yml

Each effect block owns a prefabs: map. Add any weapon prefab name there to assign that effect to the weapon. Numeric values are interpreted by the effect block's comment, for example proc chance, damage, duration, multiplier, or percent restored.

Example:

adrenaline:
  prefabs:
    KnifeViper_TW: 2.857

ChainLightningMistlands_TW:
  lightningDamage: 32.0
  radius: 8.0
  ttl: 3.0
  hitInterval: 0.0
  prefabs:
    GreatbowDvergr_TW: 35

Warfare or WarfareFireAndIce must be installed for their native effect classes and prefabs to exist at runtime.

Compatibility

  • SecondaryAttacks can expose generated-hit context to WarfareTweaks through reflection.
  • CaptainValheim can expose shield-hit context to WarfareTweaks through reflection.
  • Jewelcrafting throwable compatibility is installed only when the matching plugin is present.
  • Warfare and WarfareFireAndIce are soft dependencies, so the mod can load safely while waiting for the relevant plugin to be installed.

Github

https://github.com/sighsorry1029/WarfareTweaks

Changelog

1.0.3 Latest
  • Fixed GreatbowModer_TW hits throwing a null-VFX instantiation error when applying Warfare's Pinned status.
    - Restored the Warfare Pinned effect's full movement stop on current Valheim versions without disrupting Haste.
1.0.2
  • Added the missing sfx_bow_fire_TW firing sound to Warfare greatbows without duplicating existing trigger effects.
    - Simplified throwable recipe, durability, prefab-name, type lookup, and warning paths while removing duplicate application work.
    - Made YAML reapplication, native assignment restoration, dynamic Harmony hooks, direct-hit scopes, external compatibility bridges, and Warfare transpilers fail safely without overwriting later mod changes.
    - Made game-folder DLL deployment opt-in while preserving the Release packaging flow.
1.0.1
  • Made WarfareTweaks.yml reload atomic: invalid or empty edits keep the last valid configuration, while legacy no-op fields are reported and ignored.
    - Reduced the configuration and runtime surface, tightened Harmony and throwable compatibility, simplified localization and ObjectDB sync, and added warnings when Warfare transpiler targets change.
1.0.0
  • Initial Release

Full version history & older downloads →

Manual installation instructions
1

Install BepInExPack Valheim

BepInExPack Valheim is required to run mods in Valheim.

Download BepInExPack Valheim 5.4.2333 · View mod page

Check out the mod page for detailed installation instructions.

2

Install WarfareTweaks

This mod must be installed on both the client and the server.

Download WarfareTweaks 1.0.3

Extract the ZIP and place the file(s) into the BepInEx/plugins/ folder inside your Valheim game folder.