Updates speed uhc stats
This commit is contained in:
@@ -10,6 +10,7 @@ import {
|
||||
murderMysteryStatsSchema,
|
||||
pitStats,
|
||||
skywarsStatsSchema,
|
||||
speedUhcStatsSchema,
|
||||
tntGamesStatsSchema,
|
||||
uhcSchema,
|
||||
woolGamesStatsSchema
|
||||
@@ -40,7 +41,8 @@ export const playerSchema = z.looseObject({
|
||||
MCGO: copsAndCrimsStatsSchema.optional(),
|
||||
WoolGames: woolGamesStatsSchema.optional(),
|
||||
HungerGames: blitzStatsSchema.optional(),
|
||||
Arcade: arcadeStatsSchema.optional()
|
||||
Arcade: arcadeStatsSchema.optional(),
|
||||
SpeedUHC: speedUhcStatsSchema.optional()
|
||||
}).transform(({ Walls3, MCGO, HungerGames, ...rest }) => {
|
||||
return {
|
||||
MegaWalls: Walls3,
|
||||
|
||||
@@ -1047,3 +1047,11 @@ export const arcadeStatsSchema = z.object({
|
||||
...arcadeZombiesModeStats(),
|
||||
...arcadeZombiesTypeStats()
|
||||
})
|
||||
|
||||
export const speedUhcStatsSchema = z.object({
|
||||
kills: z.number().default(0),
|
||||
deaths: z.number().default(0),
|
||||
wins: z.number().default(0),
|
||||
losses: z.number().default(0),
|
||||
score: z.number().default(0)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user