Completed mini bw stats
This commit is contained in:
17
src/lib/hypixel/bedwars.ts
Normal file
17
src/lib/hypixel/bedwars.ts
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user