Aetheria/Assets/Scripts/ServerShared/Agents
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Meta Vens 57c2560fc0 Fuse fixes: arming holds for every burst, no-lock rounds stop on the first hull, settle before user code
Operator ruling 2026-09-30: a no-lock round of any fuse stops at the first hull
on its aim line and detonates there (bomb fishing still bursts at max range on
a clear line). CommitBurst no longer special-cases Contact.

Soul's findings on 14f66634..7e620ff9:
- Arming (HIGH): a contact or delayed blast on a hull nearer the muzzle than the
  blast radius detonated at the hull. Armed is now the one owner of the arming
  rule; Solve plans its burst point through it and ApplyBlastHit pushes the hull
  point through it.
- A refused beam never starts (ConstantWeapon.Activate asks Refuses), so
  OnStartFiring no longer flashes visuals and audio for a beam that fires nothing.
- Step removes a shot from the queue before Apply runs damage observers, so a
  throwing observer cannot make the blast repeat every tick.
- AgentFires consults Solve for a fused weapon: a refused weapon is never fired
  and Combat's group pick no longer counts its damage.
- SingleAmmoBurst pays at its first unrefused round in Execute, judged with the
  Range that round flies with, instead of at the trigger on the previous tick's.
- Inspect reads Designated from Solve (FireSolution.Designated) instead of
  recomputing visible, in-range and locked; FireControlDiagnostic drops those
  three fields and the debug HUD shows the one. Combat's group range test is
  FireControl.InReach, the range half of Designated (a LockWeapon must be
  activated to acquire its lock, so Combat cannot ask Designated itself).

Tests pin each rule, plus the two surviving gaps: a pushed-out targeted round's
arrival at the arming distance, and the AgentMinHitProbability boundary.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-29 20:31:59 +02:00
..
States Fuse fixes: arming holds for every burst, no-lock rounds stop on the first hull, settle before user code 2026-09-29 20:31:59 +02:00
Tasks Move the ServerShared data model onto CultLib's CultCache 2026-09-14 19:00:42 +02:00
Agent.cs Swap Unity.Mathematics usings for CultMath 2026-09-14 17:39:12 +02:00
Agent.cs.meta Combat & Visibility & Collisions 2021-02-26 19:01:47 +00:00
Minion.cs Hostility System 2021-05-11 04:45:42 +01:00
Minion.cs.meta Combat & Visibility & Collisions 2021-02-26 19:01:47 +00:00
States.meta Combat & Visibility & Collisions 2021-02-26 19:01:47 +00:00
Tasks.meta Combat & Visibility & Collisions 2021-02-26 19:01:47 +00:00