mirror of
https://github.com/ZZZure/ZZZ-Plugin.git
synced 2025-12-16 13:17:32 +00:00
增加MAX评级:评分≥48或总分≥280
This commit is contained in:
parent
3751241b5d
commit
9429a60ec0
8 changed files with 34 additions and 22 deletions
|
|
@ -190,7 +190,7 @@ export class Equip {
|
|||
return this.score;
|
||||
}
|
||||
|
||||
/** @type {'C'|'B'|'A'|'S'|'SS'|'SSS'|'ACE'|false} */
|
||||
/** @type {'C'|'B'|'A'|'S'|'SS'|'SSS'|'ACE'|'MAX'|false} */
|
||||
get comment() {
|
||||
if (this.score <= 12) {
|
||||
return 'C';
|
||||
|
|
@ -210,9 +210,12 @@ export class Equip {
|
|||
if (this.score < 40) {
|
||||
return 'SSS';
|
||||
}
|
||||
if (this.score >= 40) {
|
||||
if (this.score < 48) {
|
||||
return 'ACE';
|
||||
}
|
||||
if (this.score >= 48) {
|
||||
return 'MAX';
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue