[Enhance] Support skill_nonoka_uncap

- Add support for `skill_nonoka_uncap`.
- For Arcaea 6.8.0
This commit is contained in:
Lost-MSth
2025-08-21 16:13:43 +08:00
parent 5b5f544a19
commit 05bdd42679
8 changed files with 47 additions and 10 deletions

View File

@@ -247,6 +247,7 @@ class UserPlay(UserScore):
self.combo_interval_bonus: int = None # 不能给 None 以外的默认值
self.hp_interval_bonus: int = None # 不能给 None 以外的默认值
self.fever_bonus: int = None # 不能给 None 以外的默认值
self.rank_bonus: int = None # 不能给 None 以外的默认值
self.skill_cytusii_flag: str = None
self.skill_chinatsu_flag: str = None
self.highest_health: int = None
@@ -301,6 +302,9 @@ class UserPlay(UserScore):
# fever 等级最高为 5
return False
if self.rank_bonus is not None and (self.rank_bonus < 0 or self.rank_bonus > 4):
return False
y = f'{self.user.user_id}{self.song_hash}'
checksum = md5(x+md5(y))