mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-04-11 23:51:47 +08:00
Upd: Update server CN 2025-08-14 new shop UI
This commit is contained in:
@@ -1,29 +1,31 @@
|
||||
from module.shop.shop_core import CoreShop
|
||||
from module.shop.shop_general import GeneralShop
|
||||
from module.shop.shop_guild import GuildShop
|
||||
from module.shop.shop_medal import MedalShop2
|
||||
from module.shop.shop_merit import MeritShop
|
||||
from module.shop.shop_core import CoreShop, CoreShop_250814
|
||||
from module.shop.shop_general import GeneralShop, GeneralShop_250814
|
||||
from module.shop.shop_guild import GuildShop, GuildShop_250814
|
||||
from module.shop.shop_medal import MedalShop2, MedalShop_250814
|
||||
from module.shop.shop_merit import MeritShop, MeritShop_250814
|
||||
from module.shop.ui import ShopUI
|
||||
|
||||
|
||||
class RewardShop(ShopUI):
|
||||
def run_frequent(self):
|
||||
# Munitions shops
|
||||
self.ui_goto_shop()
|
||||
if self.config.SERVER in ['tw']:
|
||||
# Munitions shops
|
||||
self.ui_goto_shop()
|
||||
|
||||
self.device.click_record_clear()
|
||||
self.shop_tab.set(main=self, left=2)
|
||||
self.shop_nav.set(main=self, upper=1)
|
||||
GeneralShop(self.config, self.device).run()
|
||||
|
||||
else:
|
||||
self.device.click_record_clear()
|
||||
self.shop_tab_250814.set(main=self, upper=1)
|
||||
self.shop_nav_250814.set(main=self, left=1)
|
||||
GeneralShop_250814(self.config, self.device).run()
|
||||
self.config.task_delay(server_update=True)
|
||||
|
||||
def run_once(self):
|
||||
# Munitions shops
|
||||
self.ui_goto_shop()
|
||||
if self.config.SERVER in ['tw']:
|
||||
# Munitions shops
|
||||
self.ui_goto_shop()
|
||||
|
||||
self.device.click_record_clear()
|
||||
self.shop_tab.set(main=self, left=2)
|
||||
self.shop_nav.set(main=self, upper=2)
|
||||
@@ -44,5 +46,26 @@ class RewardShop(ShopUI):
|
||||
self.shop_tab.set(main=self, left=1)
|
||||
self.shop_nav.set(main=self, upper=3)
|
||||
MedalShop2(self.config, self.device).run()
|
||||
else:
|
||||
self.device.click_record_clear()
|
||||
self.shop_tab_250814.set(main=self, upper=1)
|
||||
self.shop_nav_250814.set(main=self, left=2)
|
||||
MeritShop_250814(self.config, self.device).run()
|
||||
|
||||
self.device.click_record_clear()
|
||||
self.shop_tab_250814.set(main=self, upper=1)
|
||||
self.shop_nav_250814.set(main=self, left=3)
|
||||
GuildShop_250814(self.config, self.device).run()
|
||||
|
||||
# core limited, core monthly, medal, prototype
|
||||
self.device.click_record_clear()
|
||||
self.shop_tab_250814.set(main=self, upper=2)
|
||||
self.monthly_shop_nav_250814.set(main=self, left=2)
|
||||
CoreShop_250814(self.config, self.device).run()
|
||||
|
||||
self.device.click_record_clear()
|
||||
self.shop_tab_250814.set(main=self, upper=2)
|
||||
self.monthly_shop_nav_250814.set(main=self, left=3)
|
||||
MedalShop_250814(self.config, self.device).run()
|
||||
|
||||
self.config.task_delay(server_update=True)
|
||||
|
||||
Reference in New Issue
Block a user