feedback1 gaps: botbench --band still forces a band built around a switched-off bond

--band makes the forced band the only one on offer; botPickBand would now
skip it for the default band in 标准 (潘格尼尼, 克莱门莎, 玛恩纳), so the
tool also clears the band's bond tie.
This commit is contained in:
sganggs committed 2026-10-03 15:25:47 +08:00
1 parent c783fe424e
commit 1ea3e93de2
1 file changed
+3 -2
+3 -2
View File
@@ -79,8 +79,9 @@ function runOne(cfg, seed) {
roomCode: 'BENCH', mode: cfg.mode, difficulty: cfg.difficulty, seats, seed, data, log, scheduler: sched, botRehearsal: rehearsal,
send: () => true, broadcast: () => {}, onEnd: (s) => { summary = s; },
});
// --band: the only strategy on offer (botPickBand draws from gd.bandIds())
if (opt.band && cfg.mode === 'solo') m.gd.bandIds = () => [String(opt.band)];
// --band: the only strategy on offer (botPickBand draws from gd.bandIds()) — also one built around a bond the mode
// switches off, which botPickBand would otherwise skip for the default band (DESIGN §21.26)
if (opt.band && cfg.mode === 'solo') { m.gd.bandIds = () => [String(opt.band)]; m.gd.bandBondIds = () => []; }
const rec = { config: cfg.name, seed, stageId: m.stageId, bossId: m.bossId, preps: [], picks: [], rounds: [], bounties: [] };
// rehearsal stepping time (Battle.step of the rehearsal fields)
let rehMs = 0;