1
0
forked from Hay1tsme/artemis

Merge pull request 'Card Maker 1.34/1.36 ONGEKI support' (#10) from Dniel97/artemis:cardmaker_ongeki into develop

Reviewed-on: Hay1tsme/artemis#10
This commit is contained in:
2023-03-08 22:49:14 +00:00
25 changed files with 2232 additions and 40 deletions

View File

@ -1,5 +1,7 @@
from typing import Final, Dict
from enum import Enum
class OngekiConstants():
GAME_CODE = "SDDT"
@ -37,6 +39,20 @@ class OngekiConstants():
'SilverJewelEvent',
])
class CM_GACHA_KINDS(Enum):
Normal = 0
Pickup = 1
BonusRestored = 2
Free = 3
PickupBonusRestored = 4
class RARITY_TYPES(Enum):
N = 0
R = 1
SR = 2
SSR = 3
SRPlus = 12
# The game expects the server to give Lunatic an ID of 10, while the game uses 4 internally... except in Music.xml
class DIFF_NAME(Enum):
Basic = 0
@ -50,4 +66,4 @@ class OngekiConstants():
@classmethod
def game_ver_to_string(cls, ver: int):
return cls.VERSION_NAMES[ver]
return cls.VERSION_NAMES[ver]