From c4baa5aea1abac26779ec5075232dba724ab6630 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Thu, 26 Nov 2026 17:45:39 +0400 Subject: 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. --- docs/tomes/06-behavior.md | 3 +++ 1 file changed, 3 insertions(+) (limited to 'docs/tomes/06-behavior.md') 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 -- cgit v1.2.3