mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-25 10:08:15 +08:00
Merge branch 'master' of https://github.com/LmeSzinc/AzurLaneAutoScript
This commit is contained in:
@@ -40,7 +40,7 @@ class RewardMeowfficer(UI):
|
|||||||
count = remain
|
count = remain
|
||||||
# Check coins
|
# Check coins
|
||||||
coins = MEOWDDICER_COINS.ocr(self.device.image)
|
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')
|
logger.warning('Not enough coins to buy one')
|
||||||
return False
|
return False
|
||||||
elif (count - int(remain == BUY_MAX)) * BUY_PRIZE > coins:
|
elif (count - int(remain == BUY_MAX)) * BUY_PRIZE > coins:
|
||||||
|
|||||||
Reference in New Issue
Block a user