mirror of
https://github.com/sui-feng-cb/AzurLaneAutoScript1.git
synced 2026-07-01 10:52:58 +08:00
Fix: do not delay OpsiAbyssal when 1 day to OpSi reset
This commit is contained in:
@@ -10,12 +10,12 @@ class OpsiAbyssal(OSMap):
|
|||||||
Args:
|
Args:
|
||||||
result(bool): If still have obscure coordinates.
|
result(bool): If still have obscure coordinates.
|
||||||
"""
|
"""
|
||||||
if get_os_reset_remain() == 0:
|
if not result:
|
||||||
logger.info('Just less than 1 day to OpSi reset, delay 2.5 hours')
|
if get_os_reset_remain() > 0:
|
||||||
self.config.task_delay(minute=150, server_update=True)
|
self.config.task_delay(server_update=True)
|
||||||
self.config.task_stop()
|
else:
|
||||||
elif not result:
|
logger.info('Just less than 1 day to OpSi reset, delay 2.5 hours')
|
||||||
self.config.task_delay(server_update=True)
|
self.config.task_delay(minute=150, server_update=True)
|
||||||
self.config.task_stop()
|
self.config.task_stop()
|
||||||
|
|
||||||
def clear_abyssal(self):
|
def clear_abyssal(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user