RustyMods-MonkeyWrench icon

MonkeyWrench

Allows to wield two-handed weapons as one-handed

Last updated 2 weeks ago
Total downloads 325
Total rating 0 
Categories
Dependency string RustyMods-MonkeyWrench-1.0.1
Dependants 0 other packages depend on this package

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

MonkeyWrench

MonkeyWrench lets you temporarily convert two-handed weapons into one-handed weapons, making them usable in a dual wield setup (or just one-handed play). This is done via a key press when equipping, applying balance adjustments and a new skill.


Features

  • Convert two-handed weapons into one-handed form using a configurable key (L.Alt).
  • Converted weapons:
    • Use one-handed animations based on weapon type (sword, axe, club).
    • Apply damage modifier scaling (configurable).
    • Adjust stamina and eitr costs (configurable).
  • MonkeyWrench skill increases weapon effectiveness when wielding converted two-handers.
  • Tooltip indicator shows when a weapon is MonkeyWrenched.

Notes

  • Only applies to non-dual items (excludes special items like Skoll and Hati, Berzerkr axes, etc.).
  • Press the configured Keycode while equipping to convert.
  • Unequipping resets the weapon to its original state.
  • Balance factors are customizable via config:
    • Damage Modifier
    • Stamina Modifier
    • Eitr Modifier
  • Conversion is blocked if the weapon’s required skill level (configurable) is not met.
    • Example: Sword Skill 5 < Required Level 10 → conversion blocked

Conversion Logic

  1. When equipping with Keycode held:
    • Weapon type is overridden to one-handed.
    • Attack animations and chains are reassigned depending on skill type.
    • Damage is scaled by both the damage modifier and MonkeyWrench skill factor.
    • Stamina and eitr costs are multiplied by config modifiers.
    • Skill type is reassigned to MonkeyWrench.
  2. Tooltip is updated to display ❖ MonkeyWrench ❖.
  3. When unequipped, weapon stats and animations are restored.

Example (Skill 50)

  • Damage Modifier: 0.75 (75%)
  • Stamina Modifier: 0.8 (80%)
  • Eitr Modifier: 0.8 (80%)
  • MonkeyWrench Skill: 50 (≈ 50% = 0.5 SkillFactor)

Calculation:

  1. Base damage = TwoHandedDamage * 0.75
  2. Skill scaling = (BaseDamage) * (1 + 0.5 * (1 - 0.75))
    • = TwoHandedDamage * 0.75 * (1 + 0.125)
    • = TwoHandedDamage * 0.84375

Result: At skill 50, you deal ~84% of the original weapon’s damage one-handed.


Example (Skill 100)

  • Damage Modifier: 0.75 (75%)
  • MonkeyWrench Skill: 100 (≈ 1.0 SkillFactor)

Calculation:

  1. Base damage = TwoHandedDamage * 0.75
  2. Skill scaling = (BaseDamage) * (1 + 1.0 * (1 - 0.75))
    • = TwoHandedDamage * 0.75 * 1.25
    • = TwoHandedDamage * 0.9375

Result: At skill 100, you deal ~94% of the original weapon’s damage one-handed.