Modify the Chu3 rating return accuracy (#127)

* Modify the Chu3 rating return accuracy

* [F] Fix aquabox-url doc
pull/132/head
Kanon 2025-03-22 06:35:41 +08:00 committed by GitHub
parent 7fb46441f4
commit 7ab58c6495
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -135,7 +135,7 @@ export function parseComposition(item: string, allMusics: Record<string, MusicMe
if (game === 'mai2') if (game === 'mai2')
return Math.floor(diff * mult * (Math.min(100.5, score / 10000) / 100)).toFixed(0) return Math.floor(diff * mult * (Math.min(100.5, score / 10000) / 100)).toFixed(0)
if (game === 'chu3') if (game === 'chu3')
return (chusanRating(diff, score) / 100).toFixed(1) return (Math.floor(chusanRating(diff, score)) / 100).toFixed(2)
} }
return { return {

View File

@ -16,7 +16,7 @@
It is recommended you have the latest version of the game and all of the options your users may use. It is recommended you have the latest version of the game and all of the options your users may use.
The script to generate the proper paths can be found in [tools/chusan-extractor.js](tools/chusan-extractor.js). Node.js or Bun is required.<br> The script to generate the proper paths can be found in [tools/extract-chusan.js](../tools/extract-chusan.js). Node.js or Bun is required.<br>
Please read the comments at the top of the script for usage instructions. Please read the comments at the top of the script for usage instructions.
2. Copy the new `chu3` folder where you need it to be (read #3 if you're hosting AquaNet and want to host on the same endpoints). 2. Copy the new `chu3` folder where you need it to be (read #3 if you're hosting AquaNet and want to host on the same endpoints).