1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-09 18:39:04 +08:00

Fix: Wrong action point value of action point box

This commit is contained in:
SarContDeli 2022-08-24 23:41:36 +08:00
parent 85e459ee3b
commit 82a282db09

View File

@ -95,7 +95,7 @@ class ActionPointHandler(UI):
current = OCR_ACTION_POINT_REMAIN.ocr(self.device.image)
total = current
if self.config.OS_ACTION_POINT_BOX_USE:
total += np.sum(np.array(box) * (0, 20, 50, 200))
total += np.sum(np.array(box) * (0, 20, 50, 100))
oil = box[0]
logger.info(f'Action points: {current}({total}), oil: {oil}')