1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-18 20:43:33 +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

@@ -17,6 +17,7 @@ class MeritShop(ShopBase):
"""
self._shop_merit = OCR_SHOP_MERIT.ocr(self.device.image)
logger.info(f'Merit: {self._shop_merit}')
return self._shop_merit
@cached_property
def shop_merit_items(self):