From 1e684d66a34f0f2f827ac61eaca51c4f8ad71530 Mon Sep 17 00:00:00 2001 From: Made Baruna Date: Fri, 15 Mar 2024 20:14:21 +0800 Subject: [PATCH] Fix chronicled wish global wish stat page --- src/routes/wish/tally/index.svelte | 7 +++++-- src/service-worker.js | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/routes/wish/tally/index.svelte b/src/routes/wish/tally/index.svelte index e6340d56..18f85046 100644 --- a/src/routes/wish/tally/index.svelte +++ b/src/routes/wish/tally/index.svelte @@ -61,6 +61,9 @@ case '4': selectedType = types[1]; break; + case '5': + selectedType = types[3]; + break; } bannerIndex = (Number(idNumber) % typeNumber[selectedType.value]) - 1; @@ -199,7 +202,7 @@ legendaryList = legendaryList; rareList = rareList; - if (type !== 'standard') { + if (type !== 'standard' && type !== 'chronicled') { let totalCount = 0; let totalGuaranteed = 0; for (let i = 0; i < featured.items.length; i++) { @@ -564,7 +567,7 @@
- {#if featured.type === 'standard'} + {#if featured.type === 'standard' || featured.type === 'chronicled'}