mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 03:58:22 +08:00
Upd: ensure shop scrolled to top before buying
This commit is contained in:
@@ -205,6 +205,7 @@ class MedalShop2(ShopClerk):
|
||||
self.wait_until_medal_appear()
|
||||
|
||||
# Execute buy operations
|
||||
MEDAL_SHOP_SCROLL.set_top(main=self)
|
||||
while 1:
|
||||
self.shop_buy()
|
||||
if MEDAL_SHOP_SCROLL.at_bottom(main=self):
|
||||
|
||||
@@ -185,6 +185,7 @@ class VoucherShop(ShopClerk):
|
||||
self.wait_until_voucher_appear()
|
||||
|
||||
# Execute buy operations
|
||||
VOUCHER_SHOP_SCROLL.set_top(main=self)
|
||||
while 1:
|
||||
self.shop_buy()
|
||||
if VOUCHER_SHOP_SCROLL.at_bottom(main=self):
|
||||
|
||||
Reference in New Issue
Block a user