
You are viewing a potentially older version of this package. View Latest Version
SpecialAttack
Adds unique special attacks to 10 weapon categories. Each weapon gets a distinct skill with cooldown HUD, configurable damage, skill level gating, and an optional custom activation key to keep vanilla secondary attacks untouched.SpecialAttack
Adds unique special attacks to each weapon category in Valheim.
Every weapon type gets a distinct skill with cooldown tracking, configurable damage multipliers, visual/audio feedback, and an optional custom activation key.
Special Attacks by Weapon
| Weapon | Special Attack | Description |
|---|---|---|
| 1H Sword | Sword Chain | 3-hit combo chain with rising damage per hit |
| 2H Sword | Cleaving Thrust | Fan-shaped AoE pierce through multiple enemies |
| Bastard Sword | Charge Slash | Hold to charge, release for a devastating slash |
| War Pike (Warfare mod) | Cleaving Thrust | Shares the 2H sword's fan pierce |
| Spear | Spear Rain | Throw triggers a rain of spears at the impact point |
| Battleaxe (2H Axe) | Impact Burst | Throw the axe — it explodes in an AoE on landing |
| 1H Mace / Club | Launch Slam | Launches enemies into the air |
| Sledgehammer / 2H Mace | Aftershock | Ground slam sends a shockwave knocking back enemies |
| Polearm / Battle Hammer | Spinning Sweep | Spinning AoE sweep hitting all nearby enemies |
| Knife / Dagger | Sneak Ambush | Crouch to charge, attack for massive burst damage |
| Unarmed | Knockback Chain | Kick launches enemies and chains knockback to nearby foes |
How It Works
- Secondary attack key triggers specials by default — each has its own cooldown
- Optionally bind a custom key (
SpecialAttackKey) to separate specials from vanilla secondary attacks- Custom key pressed → special attack only (no secondary swing)
- Custom key pressed while on cooldown → nothing happens
- Secondary attack key → always vanilla secondary attack
- Cooldown icons appear on your HUD
- Charge bars shown on screen for Sneak Ambush and Charge Slash
- All values are fully configurable via the BepInEx config file
Configuration
Edit BepInEx/config/com.specialattack.plugin.cfg after first launch.
[General]
| Key | Default | Description |
|---|---|---|
SpecialAttackKey |
None |
Custom activation key (Unity KeyCode). When set, secondary key = vanilla only. Example: Mouse2, F, T, G, LeftAlt |
[Hud]
| Key | Default | Description |
|---|---|---|
HudX |
0.5 |
Cooldown HUD X position (0 = left, 1 = right) |
HudY |
0.15 |
Cooldown HUD Y position (0 = bottom, 1 = top) |
Per-weapon sections
Each weapon section (SpinningSweep, SwordChain, ChargeSlash, etc.) has:
| Key | Description |
|---|---|
Enable |
Toggle the special on/off |
Cooldown |
Seconds between uses |
MinSkillLevel |
Minimum skill level required to activate (0 = no restriction, 0~100) |
DamageFactor / Damage1~3 |
Damage multipliers |
| Additional per-skill options | Range, angle, animation speed, launch height, etc. |
Requirements
- BepInExPack Valheim
- Warfare mod weapons (War Pike) supported via prefab name detection
Changelog
1.0.0
- Initial release
- 10 weapon categories with unique special attacks
- Configurable custom activation key — separate specials from vanilla secondary attack
- Per-weapon minimum skill level requirement
- Cooldown HUD with radial icons
- Charge bar HUD for Sneak Ambush and Charge Slash
- Fully configurable via BepInEx config