From 1ea3e93de2c8b9577a53902c93a2319fd15bcdd2 Mon Sep 17 00:00:00 2001 From: sganggs Date: Sat, 3 Oct 2026 15:25:47 +0800 Subject: [PATCH] feedback1 gaps: botbench --band still forces a band built around a switched-off bond MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --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. --- tools/botbench.mjs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tools/botbench.mjs b/tools/botbench.mjs index a39fba65..42858dfa 100644 --- a/tools/botbench.mjs +++ b/tools/botbench.mjs @@ -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;