增加MAX评级:评分≥48或总分≥280

This commit is contained in:
UCPr 2025-04-13 20:18:47 +08:00
parent 3751241b5d
commit 9429a60ec0
8 changed files with 34 additions and 22 deletions

View file

@ -190,7 +190,7 @@ export class Equip {
return this.score;
}
/** @type {'C'|'B'|'A'|'S'|'SS'|'SSS'|'ACE'|false} */
/** @type {'C'|'B'|'A'|'S'|'SS'|'SSS'|'ACE'|'MAX'|false} */
get comment() {
if (this.score <= 12) {
return 'C';
@ -210,9 +210,12 @@ export class Equip {
if (this.score < 40) {
return 'SSS';
}
if (this.score >= 40) {
if (this.score < 48) {
return 'ACE';
}
if (this.score >= 48) {
return 'MAX';
}
return false;
}
}