mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 03:58:22 +08:00
Fix: Handle random OCR error in action points
This commit is contained in:
@@ -145,6 +145,9 @@ class ActionPointHandler(UI, MapEventHandler):
|
||||
|
||||
self.action_point_update()
|
||||
|
||||
# Having too many current AP, probably an OCR error
|
||||
if self._action_point_current > 600:
|
||||
continue
|
||||
# Having boxes
|
||||
if sum(self._action_point_box[1:]) > 0:
|
||||
break
|
||||
|
||||
Reference in New Issue
Block a user