1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-15 09:57:22 +08:00

Upd: Opsi tasks

This commit is contained in:
sui-feng-cb
2026-01-20 20:31:15 +08:00
parent af9dd1e794
commit 5b52c3ce92
12 changed files with 237 additions and 71 deletions

View File

@@ -14,6 +14,13 @@ class OpsiShop(OSMap):
If not having enough yellow coins or purple coins, skip buying supplies in next port.
"""
logger.hr('OS port daily', level=1)
today = datetime.now().day
limit = self.config.OpsiShop_DisableBeforeDate
if today <= limit:
logger.info(f'Delay Opsi shop, today\'s date {today} <= limit {limit}')
self.config.task_delay(server_update=True)
self.config.task_stop()
if not self.zone.is_azur_port:
self.globe_goto(self.zone_nearest_azur_port(self.zone))