From 80555f9c96772e0fc6f8bf762fc555a56d02cb5a Mon Sep 17 00:00:00 2001 From: Clansty Date: Sat, 15 Jun 2024 01:47:18 +0800 Subject: [PATCH] [F] B50 algorithm --- AquaNet/src/components/RatingCompSong.svelte | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/AquaNet/src/components/RatingCompSong.svelte b/AquaNet/src/components/RatingCompSong.svelte index b9b0448f..84a8b5d3 100644 --- a/AquaNet/src/components/RatingCompSong.svelte +++ b/AquaNet/src/components/RatingCompSong.svelte @@ -24,7 +24,7 @@ }; let gameIndex = gameIndexMap[game as keyof typeof gameIndexMap]; - +
@@ -47,7 +47,7 @@ {#if game === 'mai2'} - { mapRank ? (mapRank * Number(mult[1])).toFixed(0) : '-' } + { mapRank ? Math.floor(mapRank * mult[1] * (Math.min(100.5, mapData[3] / 10000) / 100)) : '-' } {/if}