mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-11 20:58:19 +08:00
Fix: Action point detection when reached 0/5
This commit is contained in:
@@ -137,6 +137,7 @@ class ActionPointHandler(UI):
|
||||
current, _, _ = OCR_ACTION_POINT_BUY_REMAIN.ocr(self.device.image)
|
||||
if current == 0:
|
||||
logger.info('Reach the limit to buy action points this week')
|
||||
return False
|
||||
cost = ACTION_POINTS_BUY[current]
|
||||
oil = self._action_point_amount[0]
|
||||
logger.info(f'Buy action points will cost {cost}, current oil: {oil}, preserve: {preserve}')
|
||||
|
||||
Reference in New Issue
Block a user