[F] Fix ongeki rating

This commit is contained in:
Azalea
2025-03-21 21:01:19 -04:00
parent c524950e35
commit 23ddb2c6e1
3 changed files with 3 additions and 3 deletions

View File

@@ -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)
}