Feint

版本 v0.3.0·更新於 2026-10-11

Changed your mind mid-swing? Block or dodge to cancel the attack before it lands, at a stamina cost.

截圖 共 3 張

模組介紹 作者原文

Feint

Changed your mind mid-swing? Block or dodge to cancel the attack before it lands, at a stamina cost.

I got sick of being one-shot because I got greedy with a combo and couldn't back out of it. I'll still die, but now I have a bit more control. I didn't want that control for free, though. Other mods already let you cancel attacks (AttackCancel, for one), but I wanted cancelling to come with tradeoffs.

Video demo

Watch the video ~~if it doesn't play above~~ Video embed removed as Gale crashes with it.

How it works

Press block or dodge during a swing, before it hits, to cancel it. The block or dodge doesn't start right away. The wait is half the time you had been swinging: if you cancel 0.4 seconds into a swing, the block or dodge starts 0.2 seconds later.

If the swing reaches its hit during that wait, the hit still lands, but weaker. The longer you had been waiting, the less damage it does, down to half by default.

A cancel costs extra stamina, up to the swing's own stamina cost. How much depends on when you cancel. At the very start of a swing it's free. The cost rises quickly to the full amount for the latest cancel that still stops the hit, and is lower again for cancels so late that the hit lands anyway. You need the full amount of stamina to cancel. If the swing would have ended on its own before the block or dodge starts, there's no extra cost.

A cancel also resets your combo, so your next swing starts from the first attack.

After a swing hits, it can't be cancelled, so blocking or dodging then works like vanilla. You also can't cancel in the air or during the knife's jump attack.

Why does it work like this?

It just does. I'm happy to take suggestions if I think they are better.

It's a bit odd that cancelling right before a hit is best, but I like that it introduces some risk:reward.

Extra controls

  • Dodge key: DodgeKey sets a dedicated dodge key that dodges the way you're moving. (Same as the game's own AltDodge control.)
  • Block + jump: BlockJump sets what jump does while blocking: Dodge (vanilla), Jump, or Nothing.

Config

BepInEx/config/hvalch.Feint.cfg, or in-game with a configuration manager (F1).

| Setting | Default | What it does |

|---|---|---|

| CancelWithBlock / CancelWithDodge | on | Which inputs can cancel. |

| StaminaPenalty | 1 | Extra stamina per cancel, as a multiple of the attack's cost (0 to 3). |

| ScaleStaminaPenalty | on | Scale the cost by when you cancel. Off = always the full cost. |

| CancelledHitDamage | 0.5 | Lowest damage multiplier for a cancelled swing that still hits. (0 to 1) |

| ScaleCancelledHitDamage | on | Weaker the longer you'd been pulling back. Off = always CancelledHitDamage. |

| NonCancellableAttacks | knife jump attacks | Attack animations that can never be cancelled. DebugLog prints the name of each attack you cancel. |

| DodgeKey | none | Dedicated dodge key. Local only. |

| BlockJump | Dodge | What jump does while blocking. Local only. |

Multiplayer

Client-side. Works on servers without it. If the server has it, the server's cancel settings are used and locked for non-admins. Controls are always your own.

AI Disclaimer

This mod was wholly generated by AI (Claude), guided by a software engineer.

安裝與使用 安裝:BepInEx 外掛

  1. 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
  2. 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
  3. 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
  4. 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。

帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。 多人連線時,主機與所有用戶端需要安裝一致的模組。

前置依賴

下面這些內容需要先安裝,否則該模組不會生效:

ValheimModding-Jotunndenikson-BepInExPack_Valheim

檔案與校驗

檔案名稱
Feint-0.3.0.zip
檔案大小
17.3 KiB