From ef4ac76bba1bb820980088e6297cf05e94202df8 Mon Sep 17 00:00:00 2001 From: guoh064 <50830808+guoh064@users.noreply.github.com> Date: Fri, 14 Aug 2026 14:53:56 +0800 Subject: [PATCH] Fix: cross_get OpsiAshBeacon_EnsureFullyCollected for os tasks (#5850) --- module/os/tasks/hazard_leveling.py | 2 +- module/os/tasks/meowfficer_farming.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/module/os/tasks/hazard_leveling.py b/module/os/tasks/hazard_leveling.py index ff852f5ac..03ec5be88 100644 --- a/module/os/tasks/hazard_leveling.py +++ b/module/os/tasks/hazard_leveling.py @@ -17,7 +17,7 @@ class OpsiHazard1Leveling(OSMap): self.config.OS_ACTION_POINT_PRESERVE = 200 if self.config.is_task_enabled('OpsiAshBeacon') \ and not self._ash_fully_collected \ - and self.config.OpsiAshBeacon_EnsureFullyCollected: + and self.config.cross_get("OpsiAshBeacon.OpsiAshBeacon.EnsureFullyCollected", True): logger.info('Ash beacon not fully collected, ignore action point limit temporarily') self.config.OS_ACTION_POINT_PRESERVE = 0 logger.attr('OS_ACTION_POINT_PRESERVE', self.config.OS_ACTION_POINT_PRESERVE) diff --git a/module/os/tasks/meowfficer_farming.py b/module/os/tasks/meowfficer_farming.py index 295b56edf..aa8cbcf5b 100644 --- a/module/os/tasks/meowfficer_farming.py +++ b/module/os/tasks/meowfficer_farming.py @@ -43,7 +43,7 @@ class OpsiMeowfficerFarming(OSMap): self.config.OS_ACTION_POINT_PRESERVE = preserve if self.config.is_task_enabled('OpsiAshBeacon') \ and not self._ash_fully_collected \ - and self.config.OpsiAshBeacon_EnsureFullyCollected: + and self.config.cross_get("OpsiAshBeacon.OpsiAshBeacon.EnsureFullyCollected", True): logger.info('Ash beacon not fully collected, ignore action point limit temporarily') self.config.OS_ACTION_POINT_PRESERVE = 0 logger.attr('OS_ACTION_POINT_PRESERVE', self.config.OS_ACTION_POINT_PRESERVE)