From fea3b8241040099b7b1ada37eaeb1a9f6d29d71f 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 f8dca66705..b101dad273 100644 --- a/module/os/operation_siren.py +++ b/module/os/operation_siren.py @@ -429,6 +429,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() @@ -444,6 +449,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()