mirror of
https://github.com/MewoLab/AquaDX.git
synced 2026-02-08 03:47:27 +08:00
[F] Fix ongeki rating
This commit is contained in:
@@ -134,7 +134,7 @@ export function parseComposition(item: string, allMusics: Record<string, MusicMe
|
||||
if (!diff) return
|
||||
if (game === 'mai2')
|
||||
return Math.floor(diff * mult * (Math.min(100.5, score / 10000) / 100)).toFixed(0)
|
||||
if (game === 'chu3')
|
||||
if (game === 'chu3' || game === 'ongeki')
|
||||
return (Math.floor(chusanRating(diff, score)) / 100).toFixed(2)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user