From 4f358d224c8fcc5796b91590fc1fc4cfcdfbcbd8 Mon Sep 17 00:00:00 2001 From: Made Baruna Date: Wed, 28 Apr 2021 10:56:52 +0800 Subject: [PATCH] Fix standard banner wish tally --- src/routes/wish/tally/_item.svelte | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/routes/wish/tally/_item.svelte b/src/routes/wish/tally/_item.svelte index c5704de8..dbe683ad 100644 --- a/src/routes/wish/tally/_item.svelte +++ b/src/routes/wish/tally/_item.svelte @@ -137,14 +137,14 @@ guaranteed: item.guaranteed, percentage: (item.count / - (type === 'character' && id !== 200001 && i === 1 ? data.total.rare : data.total.legendary)) * + (type === 'character' && id !== 200002 && i === 1 ? data.total.rare : data.total.legendary)) * 100, }; } } // only for standard banner - if (id === 200001) { + if (id === 200002) { const values = [0, 0]; for (let i = 0; i < data.list.length; i++) { @@ -257,7 +257,7 @@ class="flex flex-row items-center bg-background rounded-xl py-2 relative px-4 mb-2 flex-1 cursor-pointer" on:click={toggleLegendaryList} > - {#if id === 200001} + {#if id === 200002}