1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-12 05:08:19 +08:00
This commit is contained in:
whoamikyo
2020-08-24 01:31:12 -03:00

View File

@@ -40,7 +40,7 @@ class RewardMeowfficer(UI):
count = remain
# Check coins
coins = MEOWDDICER_COINS.ocr(self.device.image)
if coins < BUY_PRIZE:
if (coins < BUY_PRIZE) and (remain < BUY_MAX):
logger.warning('Not enough coins to buy one')
return False
elif (count - int(remain == BUY_MAX)) * BUY_PRIZE > coins: