1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-11 23:18:22 +08:00

Fix: Don't refresh guild shop if coins not enough

This commit is contained in:
LmeSzinc
2022-03-29 22:35:51 +08:00
parent 0efd42c62d
commit 54b00c9378

View File

@@ -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