mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-09 18:39:04 +08:00
Upd: [TW] Shop indexes, all server synced now
This commit is contained in:
parent
bb3f4964ec
commit
5b174e5839
@ -1,4 +1,3 @@
|
||||
from module.base.decorator import Config
|
||||
from module.shop.shop_core import CoreShop
|
||||
from module.shop.shop_general import GeneralShop
|
||||
from module.shop.shop_guild import GuildShop
|
||||
@ -18,7 +17,6 @@ class RewardShop(ShopUI):
|
||||
|
||||
self.config.task_delay(server_update=True)
|
||||
|
||||
@Config.when(SERVER='tw')
|
||||
def run_once(self):
|
||||
# Munitions shops
|
||||
self.ui_goto_shop()
|
||||
@ -41,27 +39,3 @@ class RewardShop(ShopUI):
|
||||
MedalShop2(self.config, self.device).run()
|
||||
|
||||
self.config.task_delay(server_update=True)
|
||||
|
||||
@Config.when(SERVER=None)
|
||||
def run_once(self):
|
||||
# Munitions shops
|
||||
self.ui_goto_shop()
|
||||
|
||||
self.shop_tab.set(main=self, left=2)
|
||||
self.shop_nav.set(main=self, upper=2)
|
||||
MeritShop(self.config, self.device).run()
|
||||
|
||||
self.shop_tab.set(main=self, left=2)
|
||||
self.shop_nav.set(main=self, upper=3)
|
||||
GuildShop(self.config, self.device).run()
|
||||
|
||||
# core limited, core monthly, medal, prototype
|
||||
self.shop_tab.set(main=self, left=1)
|
||||
self.shop_nav.set(main=self, upper=2)
|
||||
CoreShop(self.config, self.device).run()
|
||||
|
||||
self.shop_tab.set(main=self, left=1)
|
||||
self.shop_nav.set(main=self, upper=3)
|
||||
MedalShop2(self.config, self.device).run()
|
||||
|
||||
self.config.task_delay(server_update=True)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user