Completed mini bw stats

This commit is contained in:
2025-08-18 19:19:04 +02:00
parent e3a4a65e2d
commit ecc0098fb8
5 changed files with 114 additions and 24 deletions

View File

@@ -0,0 +1,17 @@
import { PRESTIGE_ICONS } from "@/data/hypixel/bedwars"
export function getBedwarsStar(level: number) {
if (level < 1100) {
return PRESTIGE_ICONS[0].symbol
}
if (level > 1100 && level < 2100) {
return PRESTIGE_ICONS[1].symbol
}
if (level > 2100 && level < 3100) {
return PRESTIGE_ICONS[2].symbol
}
return PRESTIGE_ICONS[3].symbol
}