diff --git a/server/sim/Battle.js b/server/sim/Battle.js index caa9b20f..09806a12 100644 --- a/server/sim/Battle.js +++ b/server/sim/Battle.js @@ -1626,6 +1626,10 @@ export class Battle { return out; } + /** + * Every deployed ally within `r` of (x, y) — no selection rule: an enemy's area effect selects among them with + * targeting.js areaSelectable (content/enemies.js areaAllies: no unblocking 隐匿 ally, DESIGN §22.12). + */ alliesInRadius(x, y, r, ownerId = null, { includeDevices = false } = {}) { const out = []; const r2 = r * r + 1e-9;