feedback3 WJ: the bot places elite 歌蕾蒂娅 with HOK-Y on a 高台 that covers the road

This commit is contained in:
sganggs committed 2026-10-04 21:11:41 +08:00
1 parent 54680cc891
commit 7e711582b0
2 files changed
+26 -6

No files matched your search

+11
View File
@@ -472,6 +472,17 @@ test('高台 battle input: elite 歌蕾蒂娅 + HOK-Y is fielded on (10,4) and b
}
});
test('高台 bots: elite 歌蕾蒂娅 + HOK-Y takes a 高台 that covers the road while the ground is still free', () => {
const { m, ps } = prep(HIGH_STAGE, 11);
equip(ps, GLADIIA_HOK_Y);
const elite = give(m, ps, GLAD_E);
const k = planLayout(m, ps, [elite]).get(elite.uid);
assert.equal(ps.deployMap().get(k), 'ranged', `planned on a 高台 with the road open (${k})`);
const [r, c] = rc(k);
assert.deepEqual(move(m, elite.uid, board(r, c)), { ok: true });
m.dispose();
});
test('高台 bots: everyone else stays on the road; elite 歌蕾蒂娅 + HOK-Y may take a 高台 when the ground is full', () => {
const { m, ps } = prep(HIGH_STAGE, 11);
const pieces = ['chess_char_4_02_a', GLAD_N, FORCER_N, 'chess_char_2_03_a'].map((id) => give(m, ps, id));