1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-12 05:08:19 +08:00

Fix: Check currency > 0 before shop_buy_execute()

This commit is contained in:
LmeSzinc
2021-12-21 23:25:25 +08:00
parent ee0dfedc95
commit e3dc859954
5 changed files with 13 additions and 2 deletions

View File

@@ -50,6 +50,7 @@ class GuildShop(ShopBase):
"""
self._shop_guild_coins = OCR_SHOP_GUILD_COINS.ocr(self.device.image)
logger.info(f'Guild coins: {self._shop_guild_coins}')
return self._shop_guild_coins
@cached_property
@Config.when(SERVER='cn')