1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-17 01:45:25 +08:00

Fix: Handle get items in action_point_enter

Remove unused argument `quit` in handle_os_auto_search_map_option
This commit is contained in:
LmeSzinc
2022-12-28 16:58:46 +08:00
parent 352a219571
commit 6e0f53bd6d
4 changed files with 31 additions and 11 deletions

View File

@@ -306,7 +306,7 @@ class OperationSiren(OSMap):
keep_current_ap = True
if not self.is_cl1_enabled and self.config.OpsiGeneral_BuyActionPointLimit > 0:
keep_current_ap = False
self.set_action_point(cost=0, keep_current_ap=keep_current_ap)
self.action_point_set(cost=0, keep_current_ap=keep_current_ap)
ap_checked = True
# (1252, 1012) is the coordinate of zone 134 (the center zone) in os_globe_map.png
@@ -376,7 +376,7 @@ class OperationSiren(OSMap):
keep_current_ap = True
if self.config.OpsiGeneral_BuyActionPointLimit > 0:
keep_current_ap = False
self.set_action_point(cost=100, keep_current_ap=keep_current_ap)
self.action_point_set(cost=100, keep_current_ap=keep_current_ap)
if self._action_point_total >= 3000:
with self.config.multi_set():
self.config.task_delay(server_update=True)