aboutsummaryrefslogtreecommitdiff
path: root/docs/appendices/script-vm.md
diff options
context:
space:
mode:
authorValentin Popov <valentin@popov.link>2026-11-26 16:45:39 +0300
committerValentin Popov <valentin@popov.link>2026-11-26 16:45:39 +0300
commitc4baa5aea1abac26779ec5075232dba724ab6630 (patch)
tree63b98b0a738e0426ef2d58e3edd038d60380dc7b /docs/appendices/script-vm.md
parentc568357edf3c651ca0e16af27491be28ab1e0262 (diff)
downloadfparkan-c4baa5aea1abac26779ec5075232dba724ab6630.tar.xz
fparkan-c4baa5aea1abac26779ec5075232dba724ab6630.zip
fix(combat): recognize hits absorbed by shields
Use the same impact result for manual fire and autonomous weapons. A shield that spends its charge and absorbs a whole shot completes the impact without reporting an unavailable target. Keep the existing hull damage API for callers that only need remaining health. Checked in a window on the stock Two Fortresses map. The laser first ended at the shield and then reduced hull health after the sector was depleted. At 180 seconds of AutoDemo the false unavailable reports disappear and the destruction sequence is identical.
Diffstat (limited to 'docs/appendices/script-vm.md')
0 files changed, 0 insertions, 0 deletions