FistAttackMod
Turns the primary attack for Fist-class weapons into a 3-hit combo: punch, punch, kick. The kick always uses the vanilla Fists kick, so weapon-specific secondary attacks (e.g. Warfare mod fists) stay
模組介紹 作者原文
FistAttackMod
Turns the primary attack (left-click) for Fist-class weapons into a 3-hit combo: punch, punch, kick.
The kick is always the vanilla Fists kick — pulled from Humanoid.m_unarmedWeapon, not from the equipped
weapon's own secondary attack. That means fist-type weapons with a non-kick special attack (e.g. Warfare mod
weapons) still get the standard punch-punch-kick combo on left-click, while their unique special attack
stays completely untouched on right-click.
How It Works
- Detects any weapon using the Unarmed skill, or with Fist/Claw in its prefab name
- Left-click (primary attack):
- 1st & 2nd hit — normal punch, unchanged
- 3rd hit — vanilla Fists kick (animation, range, damage, stamina cost, etc.)
- Chain resets after 3 hits, or if attacks aren't chained within the same window vanilla weapons use (~0.2s)
- Right-click (secondary attack) is never touched — each weapon's own special attack still works as normal
Configuration
Edit BepInEx/config/com.fistattack.plugin.cfg after first launch.
[FistChain]
| Key | Default | Description |
|-----|---------|-------------|
| Enable | true | Enable the punch-punch-kick combo for Fist-class weapons |
| KickDamageMult | 2.0 | Damage multiplier applied to the 3rd hit (kick), on top of the vanilla kick's own damage |
| MinSkillLevel | 0 | Minimum Unarmed skill level required (0 = no restriction) |
Requirements
- BepInExPack Valheim
Changelog
1.1.0
- Fixed: the combo no longer triggers when fighting bare-handed with no weapon equipped at all (previously Fists itself was misidentified as a Fist-class weapon)
- Fixed: a FieldAccessException on Attack.m_currentAttackCainLevel that could spam the log during the 3rd hit (kick) — now accessed safely via Harmony FieldRefAccess instead of a direct field write
- The combo now reports a correct 3-level attack chain (m_attackChainLevels/m_currentAttackCainLevel) throughout all 3 hits, instead of misreporting a 0-length chain on the kick — improves compatibility with other chain-attack mods (e.g. ChainAttacks) that read these vanilla fields
- Attempted fix to let the kick's recovery be cancelled into the next combo hit, same as the punch-to-punch chain (depends on the kick animation clip's own cancel window; may not have an effect on every animation)
1.0.0
- Initial release
- Punch-punch-kick 3-hit combo for all Fist-class weapons (vanilla Unarmed + Fist/Claw-named modded weapons)
- Kick sourced from vanilla Fists, independent of the equipped weapon's own secondary attack
- Configurable kick damage multiplier and minimum skill level
安裝與使用 安裝:BepInEx 外掛
- 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
- 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
- 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
- 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。
帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。 多人連線時,主機與所有用戶端需要安裝一致的模組。
下面這些內容需要先安裝,否則該模組不會生效: