mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-04-16 14:55:44 +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()
|
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
|
break
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
|
|||||||
Reference in New Issue
Block a user