diff options
| author | Valentin Popov <valentin@popov.link> | 2026-11-26 16:45:39 +0300 |
|---|---|---|
| committer | Valentin Popov <valentin@popov.link> | 2026-11-26 16:45:39 +0300 |
| commit | c4baa5aea1abac26779ec5075232dba724ab6630 (patch) | |
| tree | 63b98b0a738e0426ef2d58e3edd038d60380dc7b /docs | |
| parent | c568357edf3c651ca0e16af27491be28ab1e0262 (diff) | |
| download | fparkan-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')
| -rw-r--r-- | docs/tomes/06-behavior.md | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/tomes/06-behavior.md b/docs/tomes/06-behavior.md index 56f207b6..3f4cad1a 100644 --- a/docs/tomes/06-behavior.md +++ b/docs/tomes/06-behavior.md @@ -2798,6 +2798,9 @@ GOG `Control.dll` выбор выполняется по RVA `0x2c590`, а сиÐ силу сектора с 3040 до 2141. При пробое сектор опустошается, а к корпусу проходит разность. FParkan выполняет эту проверку в найденной точке контакта. Отдельная поверхность поля ещё открыта. +Полное поглощение завершает полёт снаряда и учитывается как отработавшее +попадание в щит. Отчёт о неподдержанных контактах учитывает случаи, в +которых движок не смог обработать цель. Попадание в заряженный сектор запускает эффект из устройства 9, например `r_shield_g` у одного из варботов AutoDemo. Оригинал по RVA |
