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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user