skyrim-multiplayer / skymp

Multiplayer Mod & TypeScript SDK for Skyrim Special Edition
Other
223 stars 75 forks source link

Bash attack fix #2190

Closed BartPortugalec closed 1 month ago

BartPortugalec commented 1 month ago

[!IMPORTANT] Fix bash attack handling in TES5DamageFormulaImpl by modifying IsUnarmedAttack and applying a damage multiplier.

  • Behavior:
    • Modify IsUnarmedAttack to consider isBashAttack in TES5DamageFormula.cpp.
    • Update DetermineDamageFromSource to accept isBashAttack parameter in TES5DamageFormulaImpl.
    • Apply 0.3x damage multiplier for bash attacks in CalculateDamage in TES5DamageFormulaImpl.
  • Misc:
    • Update submodule commit in vcpkg.

This description was created by Ellipsis for 298f845a49137107d26adb2bd12b3ea00d69e2da. It will automatically update as commits are pushed.