1
0
mirror of https://github.com/sui-feng-cb/AzurLaneAutoScript1.git synced 2026-08-13 03:11:47 +08:00

Fix: read OpsiAshBeacon_EnsureFullyCollected via cross_get

This commit is contained in:
positnuec
2026-08-11 13:48:51 +08:00
parent 11d6de3138
commit 819d417e98
2 changed files with 2 additions and 2 deletions

View File

@@ -17,7 +17,7 @@ class OpsiHazard1Leveling(OSMap):
self.config.OS_ACTION_POINT_PRESERVE = 200 self.config.OS_ACTION_POINT_PRESERVE = 200
if self.config.is_task_enabled('OpsiAshBeacon') \ if self.config.is_task_enabled('OpsiAshBeacon') \
and not self._ash_fully_collected \ and not self._ash_fully_collected \
and self.config.OpsiAshBeacon_EnsureFullyCollected: and self.config.cross_get(keys='OpsiAshBeacon.OpsiAshBeacon.EnsureFullyCollected', default=True):
logger.info('Ash beacon not fully collected, ignore action point limit temporarily') logger.info('Ash beacon not fully collected, ignore action point limit temporarily')
self.config.OS_ACTION_POINT_PRESERVE = 0 self.config.OS_ACTION_POINT_PRESERVE = 0
logger.attr('OS_ACTION_POINT_PRESERVE', self.config.OS_ACTION_POINT_PRESERVE) logger.attr('OS_ACTION_POINT_PRESERVE', self.config.OS_ACTION_POINT_PRESERVE)

View File

@@ -44,7 +44,7 @@ class OpsiMeowfficerFarming(OSMap):
self.config.OS_ACTION_POINT_PRESERVE = preserve self.config.OS_ACTION_POINT_PRESERVE = preserve
if self.config.is_task_enabled('OpsiAshBeacon') \ if self.config.is_task_enabled('OpsiAshBeacon') \
and not self._ash_fully_collected \ and not self._ash_fully_collected \
and self.config.OpsiAshBeacon_EnsureFullyCollected: and self.config.cross_get(keys='OpsiAshBeacon.OpsiAshBeacon.EnsureFullyCollected', default=True):
logger.info('Ash beacon not fully collected, ignore action point limit temporarily') logger.info('Ash beacon not fully collected, ignore action point limit temporarily')
self.config.OS_ACTION_POINT_PRESERVE = 0 self.config.OS_ACTION_POINT_PRESERVE = 0
logger.attr('OS_ACTION_POINT_PRESERVE', self.config.OS_ACTION_POINT_PRESERVE) logger.attr('OS_ACTION_POINT_PRESERVE', self.config.OS_ACTION_POINT_PRESERVE)