aboutsummaryrefslogtreecommitdiff
path: root/crates/fparkan-runtime/src/unit_patrol.rs
diff options
context:
space:
mode:
authorValentin Popov <valentin@popov.link>2026-11-26 01:18:33 +0300
committerValentin Popov <valentin@popov.link>2026-11-26 01:18:33 +0300
commit65ec4949e90fa140d68563df7a38d08d9a1d49b0 (patch)
tree563cc61a364573aa5324ca0fdb815082f84a19bb /crates/fparkan-runtime/src/unit_patrol.rs
parent8a0f8a449dc3b80c5348c60b54982a71a45b0da2 (diff)
downloadfparkan-65ec4949e90fa140d68563df7a38d08d9a1d49b0.tar.xz
fparkan-65ec4949e90fa140d68563df7a38d08d9a1d49b0.zip
fix(control): apply static root and critical-node depletion
Native Control+0x10f30 marks root/critical depletion with +0x550=0xfffe. Class 3 then returns without death notifications, deletion timers or a root cascade. Preserve that predicate through repair, and permit the native already-marked path while retaining explicit errors for unsupported deaths. Move the shared amount update out of the large runtime module. Validation: native x86 DLL oracle at x87 CW 0x007f for root/critical depletion, repair and an already-marked mobile owner; Rust rule tests; licensed stock mission-19 raid; workspace fmt/check/tests and release build. All 29 stock 900-second reports pass with unchanged world/outcome summaries and no combat damage_error entries. The windowed stock raid depleted bunker node 0 at 329083 ms, with the hero left at the stock start throughout. Scope is Control amount/marker publication. Static structures stay in the world. Stage propagation, ruins, effects and finishing an attack against an exhausted static target remain open; projectile damage is still approximate. The affected mission-19 target is a bunker, not a factory.
Diffstat (limited to 'crates/fparkan-runtime/src/unit_patrol.rs')
0 files changed, 0 insertions, 0 deletions