mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-11 22:08:20 +08:00
Fix: MeowfficerFarming is not running at the end of month because obscure and abyssal
This commit is contained in:
@@ -305,7 +305,10 @@ class OperationSiren(OSMap):
|
||||
)
|
||||
cd = self.nearest_task_cooling_down
|
||||
logger.attr('Task cooling down', cd)
|
||||
if cd is not None:
|
||||
# At the last day of every month, OpsiObscure and OpsiAbyssal are scheduled frequently
|
||||
# Don't schedule after them
|
||||
remain = get_os_reset_remain()
|
||||
if cd is not None and remain > 0:
|
||||
logger.info(f'Having task cooling down, delay OpsiMeowfficerFarming after it')
|
||||
self.config.task_delay(target=cd.next_run)
|
||||
self.config.task_stop()
|
||||
|
||||
Reference in New Issue
Block a user