From 275e1c5711ddaa174d713aae1d126e017fa83043 Mon Sep 17 00:00:00 2001 From: sganggs Date: Sun, 4 Oct 2026 00:42:46 +0800 Subject: [PATCH] =?UTF-8?q?feedback2=20WJ:=20areaAllies'=20comment=20?= =?UTF-8?q?=E2=80=94=20=E8=BF=B7=E5=BD=A9=20is=20not=20checked,=20a=20lock?= =?UTF-8?q?ed=20target=20goes=20through=20targetAndArea?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/sim/content/enemies.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/server/sim/content/enemies.js b/server/sim/content/enemies.js index aa105c54..98aff20a 100644 --- a/server/sim/content/enemies.js +++ b/server/sim/content/enemies.js @@ -427,8 +427,9 @@ export function allTargets(b, e) { /** * The allies an AREA effect of enemy `src` selects within `r` of (x, y) — splash, blast, area skill / status, pulse, zone * tick, chain or bounce jump (targeting.js areaSelectable: no unblocking 隐匿, untargetable or sleeping ally, no 起飞 one - * for a ground `src`; 迷彩 is hit). `src` = the enemy whose effect it is (null: none — 隐匿 still applies). Abilities PRTS - * marks "无视无法选择 / 无视可选性" use b.alliesInRadius with `ignoreSelect` instead. + * for a ground `src`; 迷彩 is not checked). `src` = the enemy whose effect it is (null: none — 隐匿 still applies). A + * locked target goes first through targetAndArea. Abilities PRTS marks "无视无法选择 / 无视可选性" use b.alliesInRadius with + * `ignoreSelect` instead. */ export function areaAllies(b, src, x, y, r) { return b.alliesInRadius(x, y, r).filter((a) => areaSelectable(src, a));