From 3e13bb4436cff3828c797c15a084de78b6667bf6 Mon Sep 17 00:00:00 2001 From: sganggs Date: Wed, 7 Oct 2026 02:38:16 +0800 Subject: [PATCH] =?UTF-8?q?feedback5=20CB1:=20item=2043=20follow-up=20?= =?UTF-8?q?=E2=80=94=20the=20two=20tests=20that=20pinned=20=E5=87=AF?= =?UTF-8?q?=E7=91=9F=E7=90=B3's=20old=20shop-level=20cap=20(bands.test.js,?= =?UTF-8?q?=20ui/feedback1-offers.test.js)=20now=20check=20shop=20items=20?= =?UTF-8?q?of=20any=20tier?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit No product change; golden unchanged. --- test/content/bands.test.js | 4 ++-- test/ui/feedback1-offers.test.js | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/test/content/bands.test.js b/test/content/bands.test.js index a0efc03c..aeb3b2bc 100644 --- a/test/content/bands.test.js +++ b/test/content/bands.test.js @@ -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; diff --git a/test/ui/feedback1-offers.test.js b/test/ui/feedback1-offers.test.js index 0f5a3f43..dc4a6cb9 100644 --- a/test/ui/feedback1-offers.test.js +++ b/test/ui/feedback1-offers.test.js @@ -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;