1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-11 23:18:22 +08:00

Fix: More accurate action_point_safe_get() condition

This commit is contained in:
LmeSzinc
2022-12-29 18:17:16 +08:00
parent 09f69f5938
commit 89af9a60a8

View File

@@ -145,7 +145,11 @@ class ActionPointHandler(UI, MapEventHandler):
self.action_point_update()
if sum(self._action_point_box[1:]) > 0 and self._action_point_box[0] > 0:
# Having boxes
if sum(self._action_point_box[1:]) > 0:
break
# Or having oil
if self._action_point_box[0] > 0:
break
@staticmethod