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:
@@ -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(keys='OpsiAshBeacon.OpsiAshBeacon.EnsureFullyCollected', default=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)
|
||||
|
||||
@@ -44,7 +44,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(keys='OpsiAshBeacon.OpsiAshBeacon.EnsureFullyCollected', default=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)
|
||||
|
||||
Reference in New Issue
Block a user