mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-04-07 11:11:47 +08:00
Fix: Don't refresh guild shop if coins not enough
This commit is contained in:
@@ -270,6 +270,11 @@ class GuildShop(ShopBase, ShopUI):
|
|||||||
success = self.shop_buy()
|
success = self.shop_buy()
|
||||||
if not success:
|
if not success:
|
||||||
break
|
break
|
||||||
if refresh and self.shop_refresh():
|
if refresh:
|
||||||
continue
|
# 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
|
break
|
||||||
|
|||||||
Reference in New Issue
Block a user