Cut 12.3, sub-cut A: armour absorbs first down the direct-hit lane

Deletes Entity.DamageSchematic (the even split over the whole hit shape)
and Entity.ApplyHit (the 0.5-step penetration march), replacing both with
Entity.Absorb (armour then item, per cell) and Entity.DamageHull, moved
verbatim from DamageSchematic's own body. FireControl.Apply now builds
2n+1 parallel lanes from the committed Bearing/Lateral (Q12-2 = A),
shares damage evenly over the lanes that meet metal, walks each lane in
order via the already-verified FireControl.Lane, absorbing cell by cell
up to the penetration depth, and sends every lane's own remainder to the
hull where it ends (Q12-3 = A). Splash is rewritten onto Absorb/DamageHull
(arithmetically identical to before) since DamageSchematic is gone.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Meta Vens 2026-09-25 05:55:59 +02:00
commit 70c3e0ccdb
3 changed files with 117 additions and 86 deletions

View file

@ -278,9 +278,9 @@ public class EntityInstance : MonoBehaviour
}
// Cut 3 (docs/fire-control-cut.md): DamageSchematic and both HullCollider subscriptions (Splash, Hit)
// are deleted -- FireControl decides hits now and Entity.ApplyHit/DamageSchematic (ServerShared) apply
// them, the single owner in place of what used to exist once per Unity effect. HullColliders no longer
// publish Hit/Splash at all (R8).
// are deleted -- FireControl decides hits now and applies them through Entity.Absorb/DamageHull
// (ServerShared, Cut 12.3; DamageSchematic and ApplyHit are gone), the single owner in place of what
// used to exist once per Unity effect. HullColliders no longer publish Hit/Splash at all (R8).
LookAtPoint = new GameObject($"{entity.Name} Look Point").transform;