fix: 准备阶段显示外勤医疗预备干员 (#315)

This commit is contained in:
YinqiMargatroid committed 2026-10-09 22:53:41 +08:00
1 parent 3b57f72704
commit 9db9f3ceea
9 files changed
+132 -15

No files matched your search

+4 -6
View File
@@ -1578,8 +1578,8 @@ Notes for the integrator
### 27.64 外勤医疗's pre-battle map character retains its earlier aggro when Touch replaces it — `content/bands/battle.js installMapChars`
- **Seen**: the user observes 预备干员-医疗 already visible on the field during preparation. With two elite operators,
`battleStart` creates Touch only after all board units have deployed. This gives the sim unit the latest `aggroSeq`;
- **Seen**: the [official recording](https://b23.tv/JZLqdSO) at about 4:25 shows 预备干员-医疗 on the field during preparation,
while this client's preparation view did not show it. With two elite operators, `battleStart` creates Touch only after all board units have deployed. This gives the sim unit the latest `aggroSeq`;
a local boss test makes “萨米的意志” select Touch's column first. In the
[official recording](https://b23.tv/JZLqdSO) at about 4:57, Touch stands at the right edge while 冰凌 falls on a
different column. The recording supports a mismatch, but does not by itself isolate every other target's taunt.
@@ -1587,10 +1587,8 @@ Notes for the integrator
describes a 预备干员-医疗 appearing on every player's field and being replaced by Touch at combat start if at least two
elite operators stand there. PRTS 索敌 places the last deployed target ahead at equal taunt. [ASSUMED]: the
replacement retains the map character's pre-deployment aggro position; the sources do not fix its exact numeric rank.
- **Now**: only the 外勤医疗 map character (预备干员-医疗 or Touch) gets an early `aggroSeq` after its `battleStart`
spawn. Its actual deployment event and `deploySeq` stay unchanged. Operators, ordinary initial summons and
mid-battle summons retain their existing priority.
- **Now**: in PREP, every living player's own board and scouted board shows a read-only 预备干员-医疗 from the stage's map-character slot when any living player holds 外勤医疗; a boss pair's two medics appear on the respective halves. The prep unit does not become a movable `board` piece. At `battleStart`, only the 外勤医疗 map character (预备干员-医疗 or its Touch replacement) gets an early `aggroSeq`. Its actual deployment event and `deploySeq` stay unchanged. Operators, ordinary initial summons and mid-battle summons retain their existing priority.
- **Golden**: one value moves in `test/golden/matches.json`: `coop2-NORMAL-14-standins`, player `h_0`'s
`dmgDealt` 3,000,543 → 2,999,081. That match fields 外勤医疗, so its changed initial target order can alter damage;
every other recorded result is unchanged. **Tests**: `test/content/bands.test.js` checks both variants' priority and
“萨米的意志” 冰凌 selection on solo and two-player boss fields.
“萨米的意志” 冰凌 selection on solo and two-player boss fields; `test/match/touch-prep.test.js` checks own, scouted and paired boss preparation views; the render browser test checks that the medic is visible, mirrored and not draggable.