From 9d404199df76f862eff7385b82f952ab0498f4c5 Mon Sep 17 00:00:00 2001 From: sganggs Date: Sun, 4 Oct 2026 04:39:43 +0800 Subject: [PATCH] feedback2: SIM.md keeps the 'killed' or FORCED_EXIT wording the unitedown docs test pins, with #60's forced exits added --- docs/SIM.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/SIM.md b/docs/SIM.md index 02bf6331..5ca88cfb 100644 --- a/docs/SIM.md +++ b/docs/SIM.md @@ -1149,8 +1149,8 @@ Unknown subprofessions fall back to the profession default (test `professions.te - `snapshot()` → `{ fieldId, t, units: [[id, x, y, hp, maxHp, sp, spMax, flags, anim]], dp, killed, total, dps?, boss?, down?, elem? }`. `sp/spMax` show remaining duration/ammo as a draining bar while a timed skill is active. Units in DIE state stay 0.8 s. `down: [[id, respawnAt, respawnTime, state, row, col]]` (only when non-empty) = operators lying down waiting to redeploy - (`Battle.isDown(u)`: any removal reason but the 突袭 `'raid'` — `'killed'`, `FORCED_EXIT` (§1.1 carryState `down`), a forced - exit `'retreat'` / `'merchant'` (GitHub #60) —, not removed for good, deployed at least once, a finite + (`Battle.isDown(u)`: reason `'killed'` or `FORCED_EXIT` (§1.1 carryState `down`), or a forced exit `'retreat'` / + `'merchant'` (GitHub #60) — every removal but the 突袭 `'raid'` —, not removed for good, deployed at least once, a finite respawn timer; `state` = constants.js `DOWN_STATE`: 0 counting, 1 timer done / DP short, 2 timer done / its tile taken — a safeguard: no ally deploys on a knocked-out operator's tile, §1; `row, col` = the tile it lies on and comes back on, `unit.body`); `elem: [[id, element, fill,