[F] B50 algorithm

This commit is contained in:
Clansty
2024-06-15 01:47:18 +08:00
parent e44188b830
commit 80555f9c96

View File

@@ -24,7 +24,7 @@
}; };
let gameIndex = gameIndexMap[game as keyof typeof gameIndexMap]; let gameIndex = gameIndexMap[game as keyof typeof gameIndexMap];
</script>
</script> </script>
<div class="map-detail-container" transition:slide> <div class="map-detail-container" transition:slide>
@@ -47,7 +47,7 @@
</span> </span>
</span> </span>
{#if game === 'mai2'} {#if game === 'mai2'}
{ mapRank ? (mapRank * Number(mult[1])).toFixed(0) : '-' } <span class="dx-change">
{ mapRank ? Math.floor(mapRank * mult[1] * (Math.min(100.5, mapData[3] / 10000) / 100)) : '-' } { mapRank ? Math.floor(mapRank * mult[1] * (Math.min(100.5, mapData[3] / 10000) / 100)) : '-' }
</span> </span>
{/if} {/if}