fix: 评级

This commit is contained in:
bietiaop 2024-07-29 12:17:07 +08:00
parent 39b84180bf
commit b7600d3f76
4 changed files with 23 additions and 19 deletions

View file

@ -414,22 +414,22 @@ export class ZZZAvatarInfo {
/** @type {'C'|'B'|'A'|'S'|'SS'|'SSS'|'ACE'|false} */
get equip_comment() {
if (this.equip_score <= 130) {
if (this.equip_score < 90) {
return 'C';
}
if (this.equip_score <= 150) {
if (this.equip_score >= 90) {
return 'B';
}
if (this.equip_score <= 170) {
if (this.equip_score >= 120) {
return 'A';
}
if (this.equip_score <= 190) {
if (this.equip_score >= 150) {
return 'S';
}
if (this.equip_score <= 210) {
if (this.equip_score >= 180) {
return 'SS';
}
if (this.equip_score <= 240) {
if (this.equip_score >= 210) {
return 'SSS';
}
if (this.equip_score > 240) {