Added first duel stats

This commit is contained in:
2025-09-03 22:27:23 +02:00
parent cecea648d8
commit 0a99fa0ac0
7 changed files with 108 additions and 2 deletions

View File

@@ -0,0 +1,8 @@
import { STARS } from "@/data/hypixel/build-battle"
export function getBuildBattleRank(score: number) {
for (let i = STARS.length - 1; i >= 0; i--) {
if (score >= STARS[i].value) return STARS[i]
}
return STARS[0]
}