mirror of
https://github.com/0O0o0oOoO00/Alas.git
synced 2026-05-15 12:09:25 +08:00
Fix: Meet part of LmeSzinc's demand
This commit is contained in:
@@ -60,7 +60,7 @@ class OSStatus(UI):
|
||||
self.device.screenshot()
|
||||
|
||||
yellow_coins = OCR_SHOP_YELLOW_COINS.ocr(self.device.image)
|
||||
LogRes(self.config).log_res(yellow_coins, 'YellowCoin')
|
||||
LogRes(self.config).log_res(yellow_coins, 'YellowCoinValue')
|
||||
if timeout.reached():
|
||||
logger.warning('Get yellow coins timeout')
|
||||
break
|
||||
@@ -76,5 +76,5 @@ class OSStatus(UI):
|
||||
|
||||
def get_purple_coins(self) -> int:
|
||||
amount = OCR_SHOP_PURPLE_COINS.ocr(self.device.image)
|
||||
LogRes(self.config).log_res(amount, 'PurpleCoin')
|
||||
LogRes(self.config).log_res(amount, 'PurpleCoinValue')
|
||||
return amount
|
||||
|
||||
Reference in New Issue
Block a user