You are viewing a potentially older version of this package. View all versions.
RustyMods-DualWielder-1.0.21 icon

DualWielder

Allows players to equip and use two different one-handed weapons simultaneously

Date uploaded 4 days ago
Version 1.0.21
Download link RustyMods-DualWielder-1.0.21.zip
Downloads 1283
Dependency string RustyMods-DualWielder-1.0.21

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.2202 icon
denikson-BepInExPack_Valheim

BepInEx pack for Valheim. Preconfigured and includes unstripped Unity DLLs.

Preferred version: 5.4.2202

README

DualWielder

DualWielder is a dual wield system that allows players to equip and use two different one-handed weapons simultaneously (e.g., Sword + Axe).


Features

  • Custom attach point for the left-hand weapon when holstered (only if dual wielding).
  • Option to merge left-hand damage into right-hand attacks (configurable).
  • Option to apply a damage modifier to the total damage after combining (configurable).
  • Dual Wield skill (DualWielder), which increases damage when dual wielding.

Notes

  • If left-hand damage is disabled (Off), then:
    • The damage modifier will not be applied.
    • The Dual Wield skill will not contribute to damage.
  • These configs let you balance dual wielding by tuning how much extra damage is gained.
  • Stamina use is modified calculating right + left x 0.75
  • Eitr use is modified calculating right + left x 0.75

Damage Calculation

  1. Left-hand weapon damage is added to the right-hand weapon damage.
  2. The total is then scaled by the damage modifier.
  3. Finally, the Dual Wield skill is applied as a multiplier.

Formula:

  • Modifier = damage scaling factor (0.0 – 1.0).
  • SkillFactor = Dual Wield skill percentage (0.0 – 1.0).

Example (Skill 50)

  • Combine Weapon Damages: On
  • Damage Modifier: 0.5 (50%)
  • Dual Wield Skill: 50 (≈ 50% = 0.5 SkillFactor)

Calculation:

  1. Base damage = Right + Left
  2. Apply modifier = (Right + Left) * 0.5
  3. Apply skill = (Right + Left) * 0.5 * (1 + 0.5 * (1 - 0.5))
    • = (Right + Left) * 0.5 * (1 + 0.25)
    • = (Right + Left) * 0.5 * 1.25
    • = (Right + Left) * 0.625

Result: At skill 50, you deal 62.5% of the combined damage.

Example (Skill 100)

  • Combine Weapon Damages: On
  • Damage Modifier: 0.5 (50%)
  • Dual Wield Skill: 100 (≈ 1.0 SkillFactor)

Calculation:

  1. Base damage = Right + Left
  2. Apply modifier = (Right + Left) * 0.5
  3. Apply skill = (Right + Left) * 0.5 * (1 + 1.0 * (1 - 0.5))
    • = (Right + Left) * 0.5 * (1 + 0.5)
    • = (Right + Left) * 0.5 * 1.5
    • = (Right + Left) * 0.75

Result: At skill 100 with DamageModifier 0.5, you deal 75% of the combined weapon damage.

CHANGELOG

1.0.22

  • Small tweak to try to fix holster visual in multiplayer

1.0.21

  • Fixed eitr not resetting after unequipping item

1.0.2

  • Added left item eitr use to right item - to be balanced with RustyMods.MonkeyWrench
  • left item eitr + right item eitr x 0.75

1.0.1

  • Fixed left item staying on the player when dying / respawned

1.0.0

  • Initial release