mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-04-19 16:41:06 +08:00
Fix: Check currency > 0 before shop_buy_execute()
This commit is contained in:
@@ -41,7 +41,9 @@ class RewardShop(GachaUI, ShopUI, GeneralShop, GuildShop, MedalShop, MeritShop):
|
||||
return
|
||||
|
||||
for _ in range(2):
|
||||
self.shop_buy(shop_type=shop_type, selection=selection)
|
||||
success = self.shop_buy(shop_type=shop_type, selection=selection)
|
||||
if not success:
|
||||
break
|
||||
if refresh and self.shop_refresh(shop_type):
|
||||
continue
|
||||
break
|
||||
|
||||
Reference in New Issue
Block a user