Skip to content

Commit

Permalink
Merge pull request #129 from DoroWolf/calc_ra
Browse files Browse the repository at this point in the history
为定数计算器添加更多情况
  • Loading branch information
Diving-Fish authored Jul 18, 2024
2 parents beaba3a + 313ad91 commit 361976f
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 4 deletions.
11 changes: 9 additions & 2 deletions database/models/maimai.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,15 +69,22 @@ class NewRecord(BaseModel):

SCORE_COEFFICIENT_TABLE = [
[0, 0, 'd'],
[50, 8, 'c'],
[10, 1.6, 'd'],
[20, 3.2, 'd'],
[30, 4.8, 'd'],
[40, 6.4, 'd'],
[50, 8.0, 'c'],
[60, 9.6, 'b'],
[70, 11.2, 'bb'],
[75, 12.0, 'bbb'],
[79.9999, 12.8, 'bbb'],
[80, 13.6, 'a'],
[90, 15.2, 'aa'],
[94, 16.8, 'aaa'],
[97, 20, 's'],
[96.9999, 17.6, 's'],
[97, 20.0, 's'],
[98, 20.3, 'sp'],
[98.9999, 20.6, 'sp'],
[99, 20.8, 'ss'],
[99.5, 21.1, 'ssp'],
[99.9999, 21.4, 'ssp'],
Expand Down
11 changes: 9 additions & 2 deletions web/src/scripts/ScoreCoefficient.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,21 @@
const SCORE_COEFFICIENT_TABLE = [
[0, 0, 'd'],
[50, 8, 'c'],
[10, 1.6, 'd'],
[20, 3.2, 'd'],
[30, 4.8, 'd'],
[40, 6.4, 'd'],
[50, 8.0, 'c'],
[60, 9.6, 'b'],
[70, 11.2, 'bb'],
[75, 12.0, 'bbb'],
[79.9999, 12.8, 'bbb'],
[80, 13.6, 'a'],
[90, 15.2, 'aa'],
[94, 16.8, 'aaa'],
[97, 20, 's'],
[96.9999, 17.6, 's'],
[97, 20.0, 's'],
[98, 20.3, 'sp'],
[98.9999, 20.6, 'sp'],
[99, 20.8, 'ss'],
[99.5, 21.1, 'ssp'],
[99.9999, 21.4, 'ssp'],
Expand Down

0 comments on commit 361976f

Please sign in to comment.