feedback7 R22-GHSIM: 余 【文火慢炖】 adds no layers to a bond without layers (noStack: 绝技, 独行, 调和, 协防干员) — with one such bond the only one active, nothing is added (the owner's decision of 2026-10-08); golden: unchanged
The owner's decision (relayed 2026-10-08) overrides PRTS 下半/PRTS盟约记录 「部分盟约不会显示叠加层数,但是叠加层数的特质/策略/ 装备等效果仍然对其生效」 for this strategy. bands/meta.js round_start_bond_check_gain_layer skips every bonds.json noStack bond; the 「仅激活了1个盟约」 count stays the sentence's (every active bond), so: 独行 / 绝技 alone → nothing; 独行 + one layered bond → the layered one +12 (count2), 独行 none. Repro: 独行 alone got 36, 绝技 alone 36, 独行 + 炎 got 12 each. Only 余: 协防 (bonds/addon/meta.js deputShip, 「使所有已激活的盟约层数+N」) and 华法琳 【重点监护】 (prep_finish_char_bond_add_layer, a random operator's bonds, 无需激活) each pick their own bonds and call addLayers; they share no helper with 余 beyond the generic Player.addLayers sink, which every layer gain uses — left unchanged, so both still add to noStack bonds as PRTS says. Docs: PLAYING.md 层数. Golden: unchanged (no corpus 余 at round 8 with such a bond).
This commit is contained in:
1 parent
4bd154e326
commit
38d4c3e4b5
3 files changed
+29
-5
No files matched your search
@@ -302,6 +302,22 @@ test('余 文火慢炖: R8 round start — exactly 1 active bond +36 layers, oth
|
||||
cover('band_yu');
|
||||
});
|
||||
|
||||
test('余 文火慢炖 adds no layers to a bond without layers (noStack: 独行, 绝技 …) — the owner\'s decision of 2026-10-08', () => {
|
||||
assert.deepEqual(Object.values(DATA.bonds).filter((b) => b.noStack).map((b) => b.name).sort(), ['协防干员', '独行', '绝技', '调和'].sort());
|
||||
for (const [bonus, want] of [
|
||||
[{ soloShip: 1 }, {}], // the one active bond is 独行: nothing at all
|
||||
[{ suntShip: 5 }, {}], // … or 绝技
|
||||
[{ soloShip: 1, yanShip: 20 }, { yanShip: 12 }], // two active (the sentence's count): the layered one +12, 独行 none
|
||||
]) {
|
||||
const s = setup({ band: 'band_yu' });
|
||||
Object.assign(s.ps.bondCountBonus, bonus); s.ps.recompute();
|
||||
for (const id of Object.keys(bonus)) assert.ok(s.ps.bonds[id]?.active, `${id} active`);
|
||||
s.roundStart(8);
|
||||
const got = Object.fromEntries(Object.entries(s.ps.layers).filter(([, v]) => v > 0));
|
||||
assert.deepEqual(got, want, JSON.stringify(bonus));
|
||||
}
|
||||
});
|
||||
|
||||
test('凯瑟琳 定向投放: every shop upgrade offers 3 different shop items (any tier — community report of 2026-10-06), 1 free pick', () => {
|
||||
const { m, ps } = setup({ band: 'band_cathy', seed: 9 });
|
||||
for (const lvl of [2, 3]) {
|
||||
|
||||
Reference in new issue
Block a user