mirror of
https://github.com/Lost-MSth/Arcaea-server.git
synced 2026-02-09 17:27:27 +08:00
[Enhance] Support skill_nonoka_uncap
- Add support for `skill_nonoka_uncap`. - For Arcaea 6.8.0
This commit is contained in:
@@ -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))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user