Skip to content

Commit

Permalink
Opt: call all ap consuming tasks when cl1 cannot continue
Browse files Browse the repository at this point in the history
  • Loading branch information
guoh064 committed Aug 29, 2024
1 parent 6f586b0 commit fea3b82
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions module/os/operation_siren.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand All @@ -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()

Expand Down

0 comments on commit fea3b82

Please sign in to comment.