mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-09 18:39:04 +08:00
Fix: Clear click record between shop runs
to avoid potential GameTooManyClickError
This commit is contained in:
parent
17eb307dd5
commit
1c338e220a
@ -11,6 +11,7 @@ class RewardShop(ShopUI):
|
||||
# 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()
|
||||
@ -21,19 +22,23 @@ class RewardShop(ShopUI):
|
||||
# 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)
|
||||
MeritShop(self.config, self.device).run()
|
||||
|
||||
self.device.click_record_clear()
|
||||
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.device.click_record_clear()
|
||||
self.shop_tab.set(main=self, left=1)
|
||||
self.shop_nav.set(main=self, upper=2)
|
||||
CoreShop(self.config, self.device).run()
|
||||
|
||||
self.device.click_record_clear()
|
||||
self.shop_tab.set(main=self, left=1)
|
||||
self.shop_nav.set(main=self, upper=3)
|
||||
MedalShop2(self.config, self.device).run()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user