Health under a heal line holds the arbiter on Buffing by itself. A melee
character with a shield was held in Buffing for 17 s with no heal
landing (a used-up kit re-sent), stopped attacking the boss and died.
Now, in a fight (a monster within Monster Range), 6 s under a heal line
with no heal landing (health up 3 points, the HP failsafe's test) hands
combat the tick for 5 s, then the vitals hold it again; a heal landing or
health over the line ends the episode. 6 s is VirindiTank's give-up for
one kit (3 s to start, 3 s for the result).
- The vitals step still runs every tick meanwhile (kits and potions go),
but makes no stance change or wield for a vital while combat has the
tick: no wand swap for Heal Self, and no peace switch for a kit in any
stance (Magic included, with Use Kits in Magic Mode). A caster already
in Magic stance casts its heal spell as before.
- With no peace switch going out, Kit Min Success (and Stamina Kit Min
Success) is computed in the current stance, not as if in peace.
- A release waits for a heal under way: a kit whose heal motion has played
(heal grace's NoteKitProgress), or a wand wield in flight.
- The hold resets whenever the macro is off (the stop, and the HP
failsafe's recall stop), so a restart in a fight starts a fresh count.
Tests: HealHoldTests (new, 6).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
"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>