Files
ashlar/components
claudeandClaude Opus 5.5 2c5f6e4e7d
Ashlar checks / tooling (push) Successful in 5s
Add hit reactions for real time combat
With [Game] real time combat and the new [Game] hit reactions setting on
(default), melee hits cause short reactions:

- A connecting hit queues a flinch of 0.2 to 0.7 s, growing with damage
  up to a quarter of max health and halved at zero attack strength. It
  starts when the hit's stagger is applied, so Lua's ignoreStagger and
  god mode prevent it.
- A blocked hit or parry makes the blocker recoil for 0.1 to 0.25 s, and
  a blocked blow at 0.75 strength or more staggers the attacker for 0.25
  to 0.6 s.
- During any reaction, an attack wind-up is interrupted and no new attack
  starts. Hit animations still play where the content has them; the
  timer works without them, as on the Game Template.

The rules are in mwmechanics/hitreaction.cpp. The shield block and parry
resolution moves into resolveMeleeBlock, shared by NPCs and creatures.
The combat scenario now counts reactions. Also moves a stray line of the
ai active blocking docs back under that setting.

Closes #22

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 03:50:14 -05:00
..
…
2026-09-22 20:32:53 +02:00
2026-10-29 19:17:23 -06:00
2026-10-28 23:38:07 +00:00
2026-11-05 15:49:51 -07:00
2026-11-05 15:49:51 -07:00
2026-09-30 02:03:25 +01:00
…
…
2026-11-05 15:49:51 -07:00
…
2026-11-06 12:48:39 -07:00
2026-10-02 07:05:57 -05:00
2026-09-24 18:24:57 +02:00
2026-10-18 14:56:22 +02:00
2026-10-18 14:56:22 +02:00
…
…