mirror of
https://github.com/MewoLab/AquaDX.git
synced 2026-02-09 09:37:58 +08:00
feat: preferred game
this needs more testing
This commit is contained in:
@@ -42,6 +42,7 @@ export interface CardSummary {
|
||||
ongeki: CardSummaryGame | null
|
||||
diva: CardSummaryGame | null
|
||||
wacca: CardSummaryGame | null
|
||||
auto: CardSummaryGame | null // let's pretend this just doesn't exist
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { DATA_HOST } from "./config"
|
||||
import type { MusicMeta } from "./generalTypes"
|
||||
|
||||
export type GameName = 'mai2' | 'chu3' | 'ongeki' | 'wacca'
|
||||
export type GameName = 'mai2' | 'chu3' | 'ongeki' | 'wacca' | 'auto'
|
||||
|
||||
const multTable = {
|
||||
'mai2': [
|
||||
@@ -67,7 +67,9 @@ const multTable = {
|
||||
[ 60.0, 0, 'B' ],
|
||||
[ 1.0, 0, 'C' ],
|
||||
[ 0.0, 0, 'D' ]
|
||||
]
|
||||
],
|
||||
|
||||
'auto': []
|
||||
}
|
||||
|
||||
export function getMult(achievement: number, game: GameName) {
|
||||
|
||||
Reference in New Issue
Block a user