From 62357fcd9f4b0a72fa22289c209fa05cc3602520 Mon Sep 17 00:00:00 2001 From: TermiNexus Date: Tue, 20 Oct 2026 11:29:47 +0800 Subject: [PATCH] =?UTF-8?q?fix(radar):=20=E6=81=A2=E5=A4=8D=E6=AD=BB?= =?UTF-8?q?=E4=BA=A1=E5=9D=A6=E5=85=8B=E7=9A=84=E7=BA=A2=E5=8F=89=E6=A0=87?= =?UTF-8?q?=E8=AE=B0=EF=BC=88=E5=90=AB=E8=A1=80=E9=87=8F=E8=BE=85=E5=8A=A9?= =?UTF-8?q?=E5=88=A4=E6=AD=BB=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 3dtank.com/play/static/js/unpacked/hornet_bundle.js | 3 ++- 3dtank_bundle.js | 3 ++- tools/hornet_radar.js | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/3dtank.com/play/static/js/unpacked/hornet_bundle.js b/3dtank.com/play/static/js/unpacked/hornet_bundle.js index 5d8203d..b01aa3d 100644 --- a/3dtank.com/play/static/js/unpacked/hornet_bundle.js +++ b/3dtank.com/play/static/js/unpacked/hornet_bundle.js @@ -1422,11 +1422,12 @@ if (radarY < cy - radius) radarY = cy - radius; if (radarY > cy + radius) radarY = cy + radius; - // 死亡判断(同 3D透视):可见坦克 = ACTIVE(3) 或 SEMI_ACTIVE(2);其余直接跳过(不再画红叉) + // 死亡判断(同 3D透视):可见坦克 = ACTIVE(3) 或 SEMI_ACTIVE(2);其余画红 × // 辅助:血量归零也视为死亡(状态字段偶有滞后) var tankState = GetTankState(tank); var hp = GetTankHealth(tank); if ((tankState !== 2 && tankState !== 3) || (hp && hp.current <= 0)) { + DrawDeadCross(radarX, radarY); deadCount++; continue; } diff --git a/3dtank_bundle.js b/3dtank_bundle.js index 5d8203d..b01aa3d 100644 --- a/3dtank_bundle.js +++ b/3dtank_bundle.js @@ -1422,11 +1422,12 @@ if (radarY < cy - radius) radarY = cy - radius; if (radarY > cy + radius) radarY = cy + radius; - // 死亡判断(同 3D透视):可见坦克 = ACTIVE(3) 或 SEMI_ACTIVE(2);其余直接跳过(不再画红叉) + // 死亡判断(同 3D透视):可见坦克 = ACTIVE(3) 或 SEMI_ACTIVE(2);其余画红 × // 辅助:血量归零也视为死亡(状态字段偶有滞后) var tankState = GetTankState(tank); var hp = GetTankHealth(tank); if ((tankState !== 2 && tankState !== 3) || (hp && hp.current <= 0)) { + DrawDeadCross(radarX, radarY); deadCount++; continue; } diff --git a/tools/hornet_radar.js b/tools/hornet_radar.js index 9bb844a..c72d46a 100644 --- a/tools/hornet_radar.js +++ b/tools/hornet_radar.js @@ -620,11 +620,12 @@ if (radarY < cy - radius) radarY = cy - radius; if (radarY > cy + radius) radarY = cy + radius; - // 死亡判断(同 3D透视):可见坦克 = ACTIVE(3) 或 SEMI_ACTIVE(2);其余直接跳过(不再画红叉) + // 死亡判断(同 3D透视):可见坦克 = ACTIVE(3) 或 SEMI_ACTIVE(2);其余画红 × // 辅助:血量归零也视为死亡(状态字段偶有滞后) var tankState = GetTankState(tank); var hp = GetTankHealth(tank); if ((tankState !== 2 && tankState !== 3) || (hp && hp.current <= 0)) { + DrawDeadCross(radarX, radarY); deadCount++; continue; }