feedback5 CB1: item 43 follow-up — the two tests that pinned 凯瑟琳's old shop-level cap (bands.test.js, ui/feedback1-offers.test.js) now check shop items of any tier
No product change; golden unchanged.
This commit is contained in:
1 parent
5cfa802aee
commit
3e13bb4436
2 files changed
+4
-3
No files matched your search
@@ -302,7 +302,7 @@ test('余 文火慢炖: R8 round start — exactly 1 active bond +36 layers, oth
|
||||
cover('band_yu');
|
||||
});
|
||||
|
||||
test('凯瑟琳 定向投放: every shop upgrade offers 3 different items (tier ≤ new level), 1 free pick', () => {
|
||||
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]) {
|
||||
ps.shop.upgradePrice = 0;
|
||||
@@ -313,7 +313,7 @@ test('凯瑟琳 定向投放: every shop upgrade offers 3 different items (tier
|
||||
const ids = offer.slots.map((sl) => sl.id);
|
||||
assert.equal(ids.length, 3);
|
||||
assert.equal(new Set(ids).size, 3);
|
||||
for (const id of ids) assert.ok(offer.slots[0].kind === 'item' && DATA.items[id].tier <= lvl && !DATA.items[id].isGolden, id);
|
||||
for (const id of ids) assert.ok(offer.slots[0].kind === 'item' && !DATA.items[id].shopExcluded && !DATA.items[id].isGolden, id);
|
||||
}
|
||||
const f0 = ps.funds;
|
||||
const pick = ps.offers[0].slots[2].id;
|
||||
|
||||
@@ -76,7 +76,8 @@ describe('#6 the server names its offers (m.private shop.rewardOffer source / la
|
||||
for (const s of offer.slots) {
|
||||
assert.equal(s.kind, 'item');
|
||||
assert.equal(s.price, 0);
|
||||
assert.ok(DATA.items[s.id] && DATA.items[s.id].itemType === 'EQUIP' && DATA.items[s.id].tier <= ps.shop.level, s.id);
|
||||
// any tier since 0.2.0 (community report of 2026-10-06: 「原版凯瑟琳1升2都能有6本装备」), shop items only
|
||||
assert.ok(DATA.items[s.id] && DATA.items[s.id].itemType === 'EQUIP' && !DATA.items[s.id].shopExcluded, s.id);
|
||||
}
|
||||
const want = offer.slots[1].id;
|
||||
const funds = ps.funds;
|
||||
|
||||
Reference in new issue
Block a user