diff --git a/model/avatar.js b/model/avatar.js index 0b278d5..a0eda9d 100644 --- a/model/avatar.js +++ b/model/avatar.js @@ -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) { diff --git a/model/equip.js b/model/equip.js index 57aec35..fb81fe8 100644 --- a/model/equip.js +++ b/model/equip.js @@ -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;