mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 05:08:19 +08:00
Opt: Remove OpsiAshBeacon.AshAttack since it should always be True
This commit is contained in:
@@ -216,7 +216,7 @@ class MissionHandler(GlobeOperation, ZoneManager):
|
||||
Returns:
|
||||
bool: If task OpsiExplore is under scheduling.
|
||||
"""
|
||||
enable = self.config.cross_get(keys='OpsiExplore.Scheduler.Enable', default=False)
|
||||
enable = self.config.is_task_enabled('OpsiExplore')
|
||||
next_run = self.config.cross_get(keys='OpsiExplore.Scheduler.NextRun', default=DEFAULT_TIME)
|
||||
next_reset = get_os_next_reset()
|
||||
logger.attr('OpsiNextReset', next_reset)
|
||||
|
||||
@@ -24,7 +24,7 @@ class OSStatus(UI):
|
||||
|
||||
@property
|
||||
def is_cl1_enabled(self) -> bool:
|
||||
return bool(self.config.cross_get('OpsiHazard1Leveling.Scheduler.Enable', default=False))
|
||||
return self.config.is_task_enabled('OpsiHazard1Leveling')
|
||||
|
||||
@property
|
||||
def nearest_task_cooling_down(self) -> t.Optional[Function]:
|
||||
|
||||
Reference in New Issue
Block a user