Cancel Animation Cancels

版本 v1.0.3·更新於 2026-09-09

Blocks some known animation-cancel exploits such as block cancel, dodge cancel and emote cancel.

截圖 共 3 張

模組介紹 作者原文

CancelAnimationCancels

Blocks some known animation-cancel exploits such as block cancel, dodge cancel and emote cancel.

Emote cancel

Block cancel

dodge cancel

  • It does not try to globally disable actions like blocking, emoting, dodging, or key binds.
  • Instead, it removes the specific state carry-over that makes an animation cancel profitable and only blocks narrow input patterns when a known exploit depends on them.

In practice, that means the mod watches for a short post-attack window, detects when a cancel action begins inside that window, and then forces the next attack to start as a fresh attack instead of continuing a combo or consuming a queued follow-up.

What the mod is trying to stop

Some Valheim animation cancels do not simply shorten recovery. They allow the next attack to inherit combo state from the previous attack even though the player inserted another action in between.

That is the important distinction.

If the game still thinks the player is in the same combo chain after a block, emote, or dodge transition, the next attack can behave like a later combo hit even though the animation flow was interrupted. This can create cases where:

  • later combo damage is reached too early,
  • queued follow-up attacks survive through movement actions,
  • or the player repeatedly accesses the stronger part of a chain without paying the normal timing cost.

This mod prevents those cases by resetting the internal carry-over used by the next Attack.Start(...).

Config

[1 - General]

If on, the configuration is locked and can be changed by server admins only. [Synced with Server]

Setting type: Toggle

Default value: On

Acceptable values: Off, On

Lock Configuration = On

If on, one-handed swords, knives, and one-handed clubs will lose combo carry when block is used between attacks. [Synced with Server]

Setting type: Toggle

Default value: On

Acceptable values: Off, On

Prevent Block Combo Carry = On

If on, recent attacks from affected weapons cannot be canceled into emotes, and combo carry will be reset if an emote still slips through. [Synced with Server]

Setting type: Toggle

Default value: On

Acceptable values: Off, On

Prevent Emote Cancel = On

If on, console bind commands cannot assign emotes, and existing emote binds are disabled until this is turned off. [Synced with Server]

Setting type: Toggle

Default value: Off

Acceptable values: Off, On

Block Emote Console Binds = Off

If on, unarmed, spears, axes, battleaxes, and atgeirs will lose queued attacks and combo carry when a dodge starts, and dodge-cancel attack input will be blocked. [Synced with Server]

Setting type: Toggle

Default value: On

Acceptable values: Off, On

Prevent Dodge Attack Queue = On

How the mod works internally

The mod uses a short reset window of 0.25 seconds after an attack. If a cancel action starts inside that window, the mod marks the combo as interrupted.

When the next attack starts, the mod forces a clean restart by doing two things:

  • It clears the inherited previousAttack reference.
  • It pushes timeSinceLastAttack slightly past the combo carry threshold.

This matters because Valheim's combo continuation logic depends on the next attack still seeing valid previous attack state inside a short timing window. If that state is removed, the next attack becomes a normal first hit instead of continuing into a stronger or queued follow-up.

Several options also clear m_nextAttackChainLevel or queued attack timers immediately when the cancel action begins. That prevents the exploit from surviving until the next input.

Option details

Prevent Block Combo Carry

This option targets block-based combo abuse.

Affected weapons:

  • One-handed swords
  • Knives
  • One-handed clubs

What the exploit looks like:

  • the player lands an early combo hit,
  • starts blocking during the short combo continuation window,
  • then attacks again immediately after the block animation begins.

Why that can be abused:

  • the inserted block animation visually interrupts the flow,
  • b

安裝與使用 安裝:BepInEx 外掛

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

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

前置依賴

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

denikson-BepInExPack_Valheim

檔案與校驗

檔案名稱
Cancel_Animation_Cancels-1.0.3.zip
檔案大小
168.5 KiB