mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-25 17:08:13 +08:00
Merge pull request #1562 from SaiCateDoan/act
Fix: Wrong action point value of action point box
This commit is contained in:
@@ -95,7 +95,7 @@ class ActionPointHandler(UI):
|
|||||||
current = OCR_ACTION_POINT_REMAIN.ocr(self.device.image)
|
current = OCR_ACTION_POINT_REMAIN.ocr(self.device.image)
|
||||||
total = current
|
total = current
|
||||||
if self.config.OS_ACTION_POINT_BOX_USE:
|
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]
|
oil = box[0]
|
||||||
|
|
||||||
logger.info(f'Action points: {current}({total}), oil: {oil}')
|
logger.info(f'Action points: {current}({total}), oil: {oil}')
|
||||||
|
|||||||
Reference in New Issue
Block a user