fix: 外勤医疗预置干员保留初始索敌顺序 (#315)

This commit is contained in:
YinqiMargatroid committed 2026-10-09 22:04:28 +08:00
1 parent 62eb113419
commit 3b57f72704
9 files changed
+96 -7

No files matched your search

+19
View File
@@ -1575,3 +1575,22 @@ Notes for the integrator
none left) or 「{who}:没有可获得的同盟约干员」; the item is still destroyed. en / ja / ko / zh-TW.
- **Golden**: unchanged. **Tests**: test/content/items.test.js (the #207 cases assert the toast; a new case: one 缪尔赛思,
her pool taken → the bond toast), test/content/feedback5-cb1-pins.test.js 45 (the toast below level 6, none at 6).
### 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`;
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.
- **Official**: [PRTS 卫戍协议:盟约 下半](https://prts.wiki/w/%E5%8D%AB%E6%88%8D%E5%8D%8F%E8%AE%AE%EF%BC%9A%E7%9B%9F%E7%BA%A6_%E4%B8%8B%E5%8D%8A)
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.
- **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.