From 73cc34c0a2100c270e9310c9c7769a8bbf921175 Mon Sep 17 00:00:00 2001 From: guoh064 <50830808+guoh064@users.noreply.github.com> Date: Thu, 29 Aug 2024 13:21:06 +0800 Subject: [PATCH] Opt: call all ap consuming tasks when cl1 cannot continue --- module/os/operation_siren.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/module/os/operation_siren.py b/module/os/operation_siren.py index 7c68f8c006..912b33da68 100644 --- a/module/os/operation_siren.py +++ b/module/os/operation_siren.py @@ -428,6 +428,11 @@ def os_hazard1_leveling(self): with self.config.multi_set(): self.config.task_delay(server_update=True) if not self.is_in_opsi_explore(): + cd = self.nearest_task_cooling_down + if cd is None: + self.config.task_call('OpsiAbyssal') + self.config.task_call('OpsiStronghold') + self.config.task_call('OpsiObscure') self.config.task_call('OpsiMeowfficerFarming') self.config.task_stop() @@ -443,6 +448,11 @@ def os_hazard1_leveling(self): with self.config.multi_set(): self.config.task_delay(server_update=True) if not self.is_in_opsi_explore(): + cd = self.nearest_task_cooling_down + if cd is None: + self.config.task_call('OpsiAbyssal') + self.config.task_call('OpsiStronghold') + self.config.task_call('OpsiObscure') self.config.task_call('OpsiMeowfficerFarming') self.config.task_stop()