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

@ -414,25 +414,25 @@ export class ZZZAvatarInfo {
/** @type {'C'|'B'|'A'|'S'|'SS'|'SSS'|'ACE'|false} */
get equip_comment() {
if (this.equip_score < 50) {
if (this.equip_score < 45) {
return 'C';
}
if (this.equip_score <= 100) {
if (this.equip_score <= 80) {
return 'B';
}
if (this.equip_score <= 140) {
if (this.equip_score <= 115) {
return 'A';
}
if (this.equip_score <= 180) {
if (this.equip_score <= 150) {
return 'S';
}
if (this.equip_score <= 210) {
if (this.equip_score <= 185) {
return 'SS';
}
if (this.equip_score <= 240) {
if (this.equip_score <= 220) {
return 'SSS';
}
if (this.equip_score > 240) {
if (this.equip_score > 220) {
return 'ACE';
}
return false;