From 10b117f7b9b1459a84a8bbbd0f722bf6cd94c7b0 Mon Sep 17 00:00:00 2001 From: sk1982 Date: Thu, 11 Apr 2024 22:03:24 -0400 Subject: [PATCH] chuni: add offsets for maimai trophies --- src/components/chuni/trophy.tsx | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/src/components/chuni/trophy.tsx b/src/components/chuni/trophy.tsx index e6d009b..4e93e8a 100644 --- a/src/components/chuni/trophy.tsx +++ b/src/components/chuni/trophy.tsx @@ -2,19 +2,20 @@ import Image from 'next/image'; import { getImageUrl } from '@/helpers/assets'; const TROPHY_TYPES = { - 0: 0, // common - 1: 1, // bronze - 2: 2, // silver - 3: 3, // gold - 4: 3, // expert all justice (gold) - 5: 4, // platinum - 6: 4, // master all justice (platinum) - 7: 5, // rainbow - 9: 6, // gekichumai dev staff - 10: 7 // ongeki linked title + 0: 0, // common + 1: 1, // bronze + 2: 2, // silver + 3: 3, // gold + 4: 3, // expert all justice (gold) + 5: 4, // platinum + 6: 4, // master all justice (platinum) + 7: 5, // rainbow + 9: 6, // gekichumai dev staff + 10: 7, // ongeki linked title + 11: 8 // maimai linked title }; -const TROPHY_Y = [6, 81, 156, 231, 306, 381, 456, 531].map(x => x / 1024 * 100); +const TROPHY_Y = [6, 81, 156, 231, 306, 381, 456, 531, 606].map(x => x / 1024 * 100); export type ChuniTrophyProps = { name: string | null,