Commit graph RynthSuite/Tools/RynthCore.RynthAiHostTests/Tests/StuckCastTests.cs
Author SHA1 Message Date
Daniel Wallace
486f72de58 Vitals: heal grace - a heal never waits more than 2 s on pending state
"Stuck in Healing": a healing kit got no result line, and no vitals
action followed for 8 s and more with the label reading Healing; the
character died. The kit wait's timeout was 8 s.

VirindiTank re-sends a kit every 100 ms until the server plays the heal
motion (3 s at most), then waits up to 3 s for the result line. It never
parks on the client's busy state.

ActionPacer.HealGraceMs (2000) bounds what a heal under a heal line waits on:
- the kit wait (KitWaitVerdict): no motion, no UseDone and no line after
  2 s lets the kit go and the next tick sends it again; the kit's own
  UseDone(0) (the first after the send) with no line ends it after 700 ms;
  a started kit waits 3.5 s at most (KitResultTimeoutMs, was 8 s; stamina
  kits share this wait). An engine with neither GetCastBusyState nor the
  UseDone sequence can't show the server took a kit, so there only the
  3.5 s limit applies;
- an item use nobody answered (a lost kit) no longer holds the heal past
  2 s (corpse/door uses and our own casts keep their rules);
- the character's animation: 2 s for a plain heal (was 4 s), logged and
  counted once per busy spell;
- the 'too busy' probe for a waiting heal: at least every 2 s;
- the cast gate: closed 2 s under a heal line opens for the heal only
  (no mana, stamina or buff goes on that tick);
- a busy count: up 2 s (timed from its rise) no longer holds a heal.

Tests: HealGraceTests (new, 10), StuckCastTests' probe test split into the
non-heal doubling and the heal's capped probe.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 09:35:34 -08:00
2dd532963f Snapshot for release 2026.10.27.1 (internal 48d0d60) 2026-10-27 08:41:02 -04:00
39de36d3af Snapshot for release 2026.10.19.1 (internal f0bdcf8) 2026-10-19 09:11:22 -04:00
c7807b6e1c Snapshot for release 2026.10.17.1 (internal 759f36d) 2026-10-17 00:41:03 -04:00
319740ff5d Snapshot for release 2026.10.13.1 (internal d2b5fb3) 2026-10-13 14:25:49 -04:00