mirror of
https://github.com/ZZZure/ZZZ-Plugin.git
synced 2025-12-17 05:37:46 +00:00
增加MAX评级:评分≥48或总分≥280
This commit is contained in:
parent
3751241b5d
commit
9429a60ec0
8 changed files with 34 additions and 22 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue