mirror of
https://github.com/sui-feng-cb/AzurLaneAutoScript1.git
synced 2026-08-15 19:43:28 +08:00
Fix: cross_get OpsiAshBeacon_EnsureFullyCollected for os tasks (#5850)
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("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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user