Update titles/idac/season2.py

This commit is contained in:
UncleJim 2023-11-20 04:50:23 +00:00
parent 4d5823a4f7
commit 581c1506a1

View File

@ -588,7 +588,7 @@ class IDACSeason2(IDACBase):
user_id, self.version, updated_stock_data user_id, self.version, updated_stock_data
) )
def _update_vs_info(self, user_id: int, battle_mode: int, data: Dict) -> Dict: def _update_vs_info(self, user_id: int, battle_mode: int, data: Dict) -> Dict:
vs_info = self.data.item.get_vs_infos_by_mode(user_id, battle_mode) vs_info = self.data.item.get_vs_infos_by_mode(user_id, battle_mode)
if vs_info is not None: if vs_info is not None:
@ -624,7 +624,7 @@ class IDACSeason2(IDACBase):
"str_now": data.get("win_flg"), "str_now": data.get("win_flg"),
"lose_now": 1 if data.get("win_flg") == 0 else 0, "lose_now": 1 if data.get("win_flg") == 0 else 0,
"break_count": data.get("break_count"), "break_count": data.get("break_count"),
"break_penalty_flag": data.get("break_penalty_flag") "break_penalty_flag": data.get("break_penalty_flag"),
"vsinfo_course_data": [ "vsinfo_course_data": [
{ {
"course_id": data.get("course_id"), "course_id": data.get("course_id"),