HyWeaponVariants-0.0.4.jar
What's new
Changelog
Fixed
- Salvager / Processing Bench – Weapons taken back from the Salvager without salvaging now keep their original variant stats (restore runs before new variant application).
- Config folder – The mod folder is created only at
/mods/HyWeaponVariants. - Effect application – Stats like durability and other variant effects are now correctly applied to weapons.
- On-hit effects – Stun, burn, poison, freeze and similar effects now apply when the weapon has the matching variant and the chance roll succeeds (previously only stat modifiers were applied).
Added
- On-hit effect rules – New
onHitEffectsconfig: map variant stats (e.g. StunChance, IgniteChance) to entity effects (Stun, Burn, Poison, Freeze) with base chance and duration. - More config options in
config.json5andHyWeaponVariants.json5(including on-hit effect rules and tuning). - More options in
messages.json5for localization and tooltips. - Debug logging – With
debug: truein config, the server log shows per-hit details: weapon variant stats, damage scaling, effect-duration recording, and on-hit effect rolls (chance vs roll, applied/failed) so you can verify effect application.
Reworked
- Variant application – How variants and their effects are applied to weapons has been reworked for consistency and correctness.
- Salvager flow – Player weapon cache, restore cache, and the order of restore vs. apply have been reworked so taking a weapon back from the Salvager keeps the same variant.
- Default config –
debugnow defaults tofalse; set totruewhen debugging.
This mod has no additional files

