# This Python file uses the following encoding: utf-8 # @brief Configurations for Ryou Dokan Toppa (阴阳竂道馆突破配置) # @author jackyhwei # @note draft version without full test # github https://github.com/roarhill/oas from pydantic import BaseModel, Field from tasks.Component.GeneralBattle.config_general_battle import GeneralBattleConfig from tasks.Component.SwitchSoul.switch_soul_config import SwitchSoulConfig from tasks.Component.config_base import ConfigBase, Time from tasks.Component.config_scheduler import Scheduler class AbyssShadowsTime(ConfigBase): # 自定义运行时间 custom_run_time_friday: Time = Field(default=Time(hour=19, minute=0, second=0)) custom_run_time_saturday: Time = Field(default=Time(hour=19, minute=0, second=0)) custom_run_time_sunday: Time = Field(default=Time(hour=19, minute=0, second=0)) class AbyssShadows(ConfigBase): scheduler: Scheduler = Field(default_factory=Scheduler) abyss_shadows_time: AbyssShadowsTime = Field(default_factory=AbyssShadowsTime) general_battle_config: GeneralBattleConfig = Field(default_factory=GeneralBattleConfig) switch_soul_config: SwitchSoulConfig = Field(default_factory=SwitchSoulConfig)