1
0
mirror of https://github.com/sui-feng-cb/AzurLaneAutoScript1.git synced 2026-08-18 04:34:53 +08:00
This commit is contained in:
2026-08-15 10:50:23 +08:00
144 changed files with 1242 additions and 45 deletions

View File

@@ -17,13 +17,13 @@ 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.cross_get(keys='OpsiAshBeacon.OpsiAshBeacon.EnsureFullyCollected', default=True):
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)
if self.get_yellow_coins() < self.config.OpsiHazard1Leveling_OperationCoinsPreserve:
logger.info(f'Reach the limit of yellow coins, preserve={self.config.OpsiHazard1Leveling_OperationCoinsPreserve}')
if not self.cl1_enough_yellow_coins:
logger.info(f'Reach the limit of yellow coins, preserve={self.yellow_coins_preserve}')
with self.config.multi_set():
self.config.task_delay(minute=27, server_update=True)
if not self.is_in_opsi_explore():