1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-11 23:18:22 +08:00

Tmp: Disable shop tasks until assets are updated

This commit is contained in:
LmeSzinc
2023-07-13 12:21:26 +08:00
parent 54d4920a63
commit 5af6dce001
2 changed files with 14 additions and 0 deletions

View File

@@ -70,6 +70,10 @@ class SupplyPack(CampaignStatus):
in: Any page
out: page_supply_pack, supply pack tab
"""
if self.config.SERVER in ['cn', 'en', 'jp']:
logger.warning(f'SupplyPack is disabled in server {self.config.SERVER.upper()} until assets are updated')
return
self.ui_ensure(page_supply_pack)
if self.get_oil() < 21000: