Description
Overhauls the combat system with Parries, Shield Bashes, Projectile Reflection, and Damage Type Weaknesses and Resistances.
Integrates perfectly with Perfect Parries mod!
(Text in bold are able to be configured live in-game with the command /stunningcombat)
Perfect Block Parry
Blocking any melee or projectile attack 0.2 seconds before it lands will result in a Parry. This prevents all damage and does not drain stamina like a normal block would. Both NPCs and Players can parry! This also charges your Signature Energy by 20% and applies Knockback to the attacker.
Shield Bash Stun
Landing a Shield Bash on an enemy while its attack is winding up will Stun it. Stun length scales with your shield's tier, from 0.8 seconds for Wooden up to 3.5 seconds for Mithril. A successful bash refunds the stamina the bash itself cost.

(Prefer the old behavior? Enable All Parries Stun Enemies (Legacy) to make every parry stun the attacker for 1.5 seconds.)
Critical Damage
Any damage to Stunned targets deals 1.5x Critical Damage, shown with gold hit indicator numbers, and wakes them up.
Damage Weakness & Resistance
Enemies and weapons can carry damage types, so hits can be resisted or extra effective. Floating hit indicators show which is which, including full immunity. Ships with elemental typing for staves, the frost sword, and projectiles, plus silver and frost damage modifiers.
Projectile Reflection
Swing a longsword at an incoming arrow, bomb, or spell to send it back along your aim. Reflected shots count as your damage.
Counter-Attacks
Mod developers can implement Counter-Attacks for their weapons after a Perfect Block Parry, like the Bones' Rapiers mod. By default, the Counter-Attack window is 0.6s. Want to implement a Counter-Attack into your mod? Follow the documentation here and/or reach out to me on discord!
Toggleable Sub-Plugins
Parry, Stun, Crit, Stunning Bash, Reflect, Damage Type Modifiers, and Damage Indicators can each be enabled or disabled on their own, so you can run only the parts you want.
Mod Compatibility
Works alongside Perfect Parries and Perfect Utils. When Perfect Parries is installed it takes over parrying automatically, while the critical-hit sound and gold hit indicators still play on its critical hits. Enemies are never stunned by both mods at once.
Misc
Sound effects play on Perfect Block Parries as well as when Critical Damage is done to Stunned targets.
Particles show upon a Perfect Block Parry and on Stunned targets.
In-Game Live Config Menu
As an operator (run /op self in singleplayer), run the command /stunningcombat to open the in-game config menu that updates live as you change any values.

For Mod Developers
Custom Weapon/Projectile Damage Types, Projectile Reflectors, Group Damage Type Modifiers, and Shield Stun Tiers can be implemented using Patchly and any Asset Pack or Plugin. Reach out on Discord if you need any assistance!


