fix: 评级

This commit is contained in:
bietiaop 2024-07-29 17:26:25 +08:00
parent 7df9ca19a6
commit ee5bc24fc7
2 changed files with 14 additions and 14 deletions

View file

@ -247,25 +247,25 @@ export class Equip {
/** @type {'C'|'B'|'A'|'S'|'SS'|'SSS'|'ACE'|false} */
get comment() {
if (this.score < 8) {
if (this.score < 10) {
return 'C';
}
if (this.score <= 13) {
if (this.score <= 15) {
return 'B';
}
if (this.score <= 18) {
if (this.score <= 20) {
return 'A';
}
if (this.score <= 23) {
if (this.score <= 25) {
return 'S';
}
if (this.score <= 28) {
if (this.score <= 30) {
return 'SS';
}
if (this.score <= 33) {
if (this.score <= 35) {
return 'SSS';
}
if (this.score > 33) {
if (this.score > 35) {
return 'ACE';
}
return false;