mirror of
https://github.com/W1NDes/M-AzurLaneAutoScript.git
synced 2026-05-14 07:08:04 +08:00
Fix: Don't refresh guild shop if coins not enough
This commit is contained in:
parent
0efd42c62d
commit
54b00c9378
@ -270,6 +270,11 @@ class GuildShop(ShopBase, ShopUI):
|
||||
success = self.shop_buy()
|
||||
if not success:
|
||||
break
|
||||
if refresh and self.shop_refresh():
|
||||
continue
|
||||
if refresh:
|
||||
# Refresh costs 50 and PlateT4 costs 60
|
||||
if self._shop_guild_coins >= 110:
|
||||
if self.shop_refresh():
|
||||
continue
|
||||
else:
|
||||
logger.info('Guild coins < 110, skip refreshing')
|
||||
break
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user