mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-31 00:44:10 +08:00
Tmp: Disable shop before assets updated
This commit is contained in:
@@ -8,6 +8,10 @@ from module.shop.ui import ShopUI
|
|||||||
|
|
||||||
class RewardShop(ShopUI):
|
class RewardShop(ShopUI):
|
||||||
def run_frequent(self):
|
def run_frequent(self):
|
||||||
|
if self.config.SERVER in ['en', 'jp', 'tw']:
|
||||||
|
self.config.task_delay(server_update=True)
|
||||||
|
self.config.task_stop()
|
||||||
|
|
||||||
self.ui_goto_shop()
|
self.ui_goto_shop()
|
||||||
self.device.click_record_clear()
|
self.device.click_record_clear()
|
||||||
self.shop_tab_250814.set(main=self, upper=1)
|
self.shop_tab_250814.set(main=self, upper=1)
|
||||||
@@ -17,6 +21,10 @@ class RewardShop(ShopUI):
|
|||||||
self.config.task_delay(server_update=True)
|
self.config.task_delay(server_update=True)
|
||||||
|
|
||||||
def run_once(self):
|
def run_once(self):
|
||||||
|
if self.config.SERVER in ['en', 'jp', 'tw']:
|
||||||
|
self.config.task_delay(server_update=True)
|
||||||
|
self.config.task_stop()
|
||||||
|
|
||||||
# Munitions shops
|
# Munitions shops
|
||||||
self.ui_goto_shop()
|
self.ui_goto_shop()
|
||||||
self.device.click_record_clear()
|
self.device.click_record_clear()
|
||||||
|
|||||||
Reference in New Issue
Block a user