mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 02:48:23 +08:00
Fix: Keep 1000 AP only when CL1 available but not enabled
This commit is contained in:
@@ -466,8 +466,9 @@ class OSMap(OSFleet, Map, GlobeCamera, StrategicSearchHandler):
|
||||
"""
|
||||
Keeping enough startup AP to run CL1.
|
||||
"""
|
||||
if self.is_cl1_enabled and get_os_reset_remain() > 2:
|
||||
logger.info('Keep 1000 AP when CL1 enabled')
|
||||
if self.is_cl1_enabled and get_os_reset_remain() > 2 \
|
||||
and self.get_yellow_coins() > self.config.OS_CL1_YELLOW_COINS_PRESERVE:
|
||||
logger.info('Keep 1000 AP when CL1 available')
|
||||
if not self.action_point_check(1000):
|
||||
self.config.opsi_task_delay(cl1_preserve=True)
|
||||
self.config.task_stop()
|
||||
|
||||
Reference in New Issue
Block a user