mirror of
https://github.com/ZZZure/ZZZ-Plugin.git
synced 2025-12-16 13:17:32 +00:00
fix: 评级
This commit is contained in:
parent
7df9ca19a6
commit
ee5bc24fc7
2 changed files with 14 additions and 14 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue