mirror of
https://github.com/ZZZure/ZZZ-Plugin.git
synced 2025-12-16 21:27:47 +00:00
fix: 评级判断错误
This commit is contained in:
parent
40670fc172
commit
b687b1760f
2 changed files with 11 additions and 11 deletions
|
|
@ -417,19 +417,19 @@ export class ZZZAvatarInfo {
|
|||
if (this.equip_score < 90) {
|
||||
return 'C';
|
||||
}
|
||||
if (this.equip_score >= 90) {
|
||||
if (this.equip_score <= 120) {
|
||||
return 'B';
|
||||
}
|
||||
if (this.equip_score >= 120) {
|
||||
if (this.equip_score <= 150) {
|
||||
return 'A';
|
||||
}
|
||||
if (this.equip_score >= 150) {
|
||||
if (this.equip_score <= 180) {
|
||||
return 'S';
|
||||
}
|
||||
if (this.equip_score >= 180) {
|
||||
if (this.equip_score <= 210) {
|
||||
return 'SS';
|
||||
}
|
||||
if (this.equip_score >= 210) {
|
||||
if (this.equip_score <= 240) {
|
||||
return 'SSS';
|
||||
}
|
||||
if (this.equip_score > 240) {
|
||||
|
|
|
|||
|
|
@ -250,22 +250,22 @@ export class Equip {
|
|||
if (this.score < 8) {
|
||||
return 'C';
|
||||
}
|
||||
if (this.score >= 8) {
|
||||
if (this.score <= 13) {
|
||||
return 'B';
|
||||
}
|
||||
if (this.score >= 13) {
|
||||
if (this.score <= 18) {
|
||||
return 'A';
|
||||
}
|
||||
if (this.score >= 18) {
|
||||
if (this.score <= 23) {
|
||||
return 'S';
|
||||
}
|
||||
if (this.score >= 23) {
|
||||
if (this.score <= 28) {
|
||||
return 'SS';
|
||||
}
|
||||
if (this.score >= 28) {
|
||||
if (this.score <= 33) {
|
||||
return 'SSS';
|
||||
}
|
||||
if (this.score >= 33) {
|
||||
if (this.score > 33) {
|
||||
return 'ACE';
|
||||
}
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue