mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-26 01:15:03 +08:00
Fix: Clear click record between shop runs
to avoid potential GameTooManyClickError
This commit is contained in:
@@ -11,6 +11,7 @@ class RewardShop(ShopUI):
|
|||||||
# Munitions shops
|
# Munitions shops
|
||||||
self.ui_goto_shop()
|
self.ui_goto_shop()
|
||||||
|
|
||||||
|
self.device.click_record_clear()
|
||||||
self.shop_tab.set(main=self, left=2)
|
self.shop_tab.set(main=self, left=2)
|
||||||
self.shop_nav.set(main=self, upper=1)
|
self.shop_nav.set(main=self, upper=1)
|
||||||
GeneralShop(self.config, self.device).run()
|
GeneralShop(self.config, self.device).run()
|
||||||
@@ -21,19 +22,23 @@ class RewardShop(ShopUI):
|
|||||||
# Munitions shops
|
# Munitions shops
|
||||||
self.ui_goto_shop()
|
self.ui_goto_shop()
|
||||||
|
|
||||||
|
self.device.click_record_clear()
|
||||||
self.shop_tab.set(main=self, left=2)
|
self.shop_tab.set(main=self, left=2)
|
||||||
self.shop_nav.set(main=self, upper=2)
|
self.shop_nav.set(main=self, upper=2)
|
||||||
MeritShop(self.config, self.device).run()
|
MeritShop(self.config, self.device).run()
|
||||||
|
|
||||||
|
self.device.click_record_clear()
|
||||||
self.shop_tab.set(main=self, left=2)
|
self.shop_tab.set(main=self, left=2)
|
||||||
self.shop_nav.set(main=self, upper=3)
|
self.shop_nav.set(main=self, upper=3)
|
||||||
GuildShop(self.config, self.device).run()
|
GuildShop(self.config, self.device).run()
|
||||||
|
|
||||||
# core limited, core monthly, medal, prototype
|
# core limited, core monthly, medal, prototype
|
||||||
|
self.device.click_record_clear()
|
||||||
self.shop_tab.set(main=self, left=1)
|
self.shop_tab.set(main=self, left=1)
|
||||||
self.shop_nav.set(main=self, upper=2)
|
self.shop_nav.set(main=self, upper=2)
|
||||||
CoreShop(self.config, self.device).run()
|
CoreShop(self.config, self.device).run()
|
||||||
|
|
||||||
|
self.device.click_record_clear()
|
||||||
self.shop_tab.set(main=self, left=1)
|
self.shop_tab.set(main=self, left=1)
|
||||||
self.shop_nav.set(main=self, upper=3)
|
self.shop_nav.set(main=self, upper=3)
|
||||||
MedalShop2(self.config, self.device).run()
|
MedalShop2(self.config, self.device).run()
|
||||||
|
|||||||
Reference in New Issue
Block a user