

DualWielder
Allows players to equip and use two different one-handed weapons simultaneouslyDetails
DualWielder
- Inspired by: Smoothbrain's Dual Wield
- Extracted from: RustyMods' Almanac Class System
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
x0.75
- Eitr use is modified calculating
right
+left
x0.75
Damage Calculation
- Left-hand weapon damage is added to the right-hand weapon damage.
- The total is then scaled by the damage modifier.
- 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:
- Base damage =
Right + Left
- Apply modifier =
(Right + Left) * 0.5
- 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:
- Base damage =
Right + Left
- Apply modifier =
(Right + Left) * 0.5
- 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.