1
0
mirror of https://github.com/sui-feng-cb/AzurLaneAutoScript1.git synced 2026-08-16 03:53:29 +08:00

Fix: cross_get OpsiAshBeacon_EnsureFullyCollected for os tasks (#5850)

This commit is contained in:
guoh064
2026-08-14 14:53:56 +08:00
parent 2f1d9c17aa
commit ef4ac76bba
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("OpsiAshBeacon.OpsiAshBeacon.EnsureFullyCollected", 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

@@ -43,7 +43,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("OpsiAshBeacon.OpsiAshBeacon.EnsureFullyCollected", 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)