mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 03:58:22 +08:00
Opt: call cl1 if enabled if OpSi tasks end with enough yellow coins
This commit is contained in:
@@ -583,6 +583,7 @@ class OSMap(OSFleet, Map, GlobeCamera, StorageHandler, StrategicSearchHandler):
|
||||
logger.info(f'Keep {OpsiMeowfficerFarming_ActionPointPreservse} AP when CL1 available')
|
||||
if not self.action_point_check(OpsiMeowfficerFarming_ActionPointPreservse):
|
||||
self.config.opsi_task_delay(cl1_preserve=True)
|
||||
self.cl1_task_call()
|
||||
self.config.task_stop()
|
||||
|
||||
_auto_search_battle_count = 0
|
||||
|
||||
@@ -554,7 +554,7 @@ class OperationSiren(OSMap):
|
||||
if self.get_yellow_coins() < self.config.OpsiHazard1Leveling_OperationCoinsPreserve:
|
||||
logger.info(f'Reach the limit of yellow coins, preserve={self.config.OpsiHazard1Leveling_OperationCoinsPreserve}')
|
||||
with self.config.multi_set():
|
||||
self.config.task_delay(minute=30, server_update=True)
|
||||
self.config.task_delay(minute=27, server_update=True)
|
||||
if not self.is_in_opsi_explore():
|
||||
cd = self.nearest_task_cooling_down
|
||||
if cd is None:
|
||||
|
||||
Reference in New Issue
Block a user