pub fn record_cast_kind(entity: &mut Entity, kind: CastKind)Expand description
Records the family of the cast about to resolve, on the caster itself.
Written BEFORE the cast resolves (handle_cast_ability), so everything
downstream — the damage primitives, the law arms, the stone effects — reads
one answer instead of each deciding again. The stones runtime used to write
this from its post-handler hook, which was one cast too late for
crate::mechanics::fight::attack to see the cast it was resolving.