mirror of
https://gitea.tendokyu.moe/Dniel97/artemis.git
synced 2026-10-07 17:37:56 +03:00
idac: fix collabo id setting
This commit is contained in:
@@ -46,7 +46,8 @@ class IDACSeason2BootController:
|
||||
self.game_cfg.timerelease.timerelease_avatar_gacha_no
|
||||
)
|
||||
|
||||
self.collabo_id = CollaboEnum.NONE
|
||||
if self.game_cfg.collabo.enable:
|
||||
self.collabo_id = CollaboEnum(self.game_cfg.collabo.collabo_id)
|
||||
|
||||
self.stamp_info: dict[int, list[ResponseSeason2BootGetConfigData.StampInfo]] = (
|
||||
defaultdict(list)
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
from datetime import datetime
|
||||
from typing import Dict
|
||||
|
||||
from core.config import CoreConfig
|
||||
@@ -31,8 +32,8 @@ class IDACSeason3BootController(IDACSeason2BootController):
|
||||
await super().handle_get_config_data_request(data, headers)
|
||||
)
|
||||
|
||||
resp.collabo_id = CollaboEnum.HOT_VERSION
|
||||
resp.theory_open_version = "2.00.00"
|
||||
resp.timetrial_disp_date = datetime(2026, 4, 1)
|
||||
resp.league_rewards = self.game_cfg.league_reward_info
|
||||
resp.league_flag = 0 # 0 = open league?
|
||||
|
||||
|
||||
@@ -599,7 +599,6 @@ class ResponseSeason2BootGetConfigData(ResponseGeneric):
|
||||
buy_car_need_cash: int = 5000
|
||||
# number of buyable shop/customization time limits
|
||||
time_extension_limit: int = 5
|
||||
# TODO: set based on special mode/event
|
||||
collabo_id: CollaboEnum = CollaboEnum.NONE
|
||||
# UNIX timestamp
|
||||
driver_debut_end_date: datetime = datetime(2039, 1, 1)
|
||||
|
||||
Reference in New Issue
Block a user