diff options
| author | Valentin Popov <valentin@popov.link> | 2026-11-26 01:51:34 +0300 |
|---|---|---|
| committer | Valentin Popov <valentin@popov.link> | 2026-11-26 01:51:34 +0300 |
| commit | 19278662be83d3e0db1b88d1fad664000c646afc (patch) | |
| tree | ff4d791933915d4c9007edc5f94e89cb151c09ca /apps/fparkan-game/src/script_coverage.rs | |
| parent | 65ec4949e90fa140d68563df7a38d08d9a1d49b0 (diff) | |
| download | fparkan-19278662be83d3e0db1b88d1fad664000c646afc.tar.xz fparkan-19278662be83d3e0db1b88d1fad664000c646afc.zip | |
fix(behavior): finish attacks against depleted targets
Static buildings remain in the world after Control marks their depletion.
Attack used to wait for removal and kept selecting the exhausted building.
Share the native missing/depleted/zero-position completion condition between
the order queue and firing selection. Remove a finished final Attack even
when no successor was queued, while keeping handle generations distinct.
Validation: unchanged x86 Behavior/Control DLL functions for target state and
the early Attack tick; queue tests; licensed stock raid regression, which
first exposed reacquisition after depletion and now reaches ShutDown without
further shots. Workspace fmt/check/tests, release build, and all 29 stock
900-second reports pass. Windowed mission 19 completed Attack, two retreat
Go orders and ShutDown with the hero at the stock start. Four incidental
interior shots during window activation returned no damage result; the
bunker still had its full root amount before the raid.
Native oracle lookup, state proxy and position resolver are host fixtures;
this does not establish full original mission chronology or movement parity.
Windowed retreat is slower than the report run: the temporary motion
controller and waypoint time loss remain G8 work. Aiming and destruction FX
are unchanged and still approximate.
Diffstat (limited to 'apps/fparkan-game/src/script_coverage.rs')
0 files changed, 0 insertions, 0 deletions
