Feint

v0.3.0·Updated 2026-10-11

Cancel attacks by blocking or dodging, at a stamina cost. Dodge out after a hit and carry on your combo.

Screenshots 3 screenshots

About this mod Author’s original text

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.

Install & use Install: BepInEx plugin

  1. The archive from playbuff is the mod itself — usually a BepInEx plugin (a .dll or a plugin folder once unzipped).
  2. Recommended: use a community mod manager (such as r2modman) — pick this game, import the mod, and the manager sets up BepInEx and its dependencies for you.
  3. Manual route: install the BepInEx loader in the game folder, then drop the unzipped .dll or plugin folder into BepInEx/plugins/.
  4. Launch the game — the BepInEx console logs every plugin it loads; seeing this mod in the log means it is installed.

Mods with listed dependencies need those installed too, or they will not load. Options are usually changed in-game or in the plugin's config file. In multiplayer, the host and every client need the same mods installed.

Dependencies

Install these first, or the mod will not work:

ValheimModding-Jotunndenikson-BepInExPack_Valheim

File & checksum

Filename
Feint-0.3.0.zip
File size
17.3 KiB