增加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

@ -370,7 +370,7 @@ export class ZZZAvatarInfo {
return false;
}
/** @type {'C'|'B'|'A'|'S'|'SS'|'SSS'|'ACE'|false} */
/** @type {'C'|'B'|'A'|'S'|'SS'|'SSS'|'ACE'|'MAX'|false} */
get equip_comment() {
if (this.equip_score < 80) {
return 'C';
@ -390,9 +390,12 @@ export class ZZZAvatarInfo {
if (this.equip_score < 220) {
return 'SSS';
}
if (this.equip_score >= 220) {
if (this.equip_score < 280) {
return 'ACE';
}
if (this.equip_score >= 280) {
return 'MAX';
}
return false;
}