1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-27 12:05:37 +08:00

Opt: Remove OpsiAshBeacon.AshAttack since it should always be True

This commit is contained in:
LmeSzinc
2023-02-17 23:50:01 +08:00
parent 7261235cc4
commit f5f093c67f
19 changed files with 70 additions and 107 deletions

View File

@@ -317,7 +317,7 @@ class OperationSiren(OSMap):
ap_checked = False
while 1:
self.config.OS_ACTION_POINT_PRESERVE = preserve
if self.config.OpsiAshBeacon_AshAttack \
if self.config.is_task_enabled('OpsiAshBeacon') \
and not self._ash_fully_collected \
and self.config.OpsiAshBeacon_EnsureFullyCollected:
logger.info('Ash beacon not fully collected, ignore action point limit temporarily')
@@ -376,12 +376,12 @@ class OperationSiren(OSMap):
OpsiGeneral_DoRandomMapEvent=True,
OpsiGeneral_AkashiShopFilter='ActionPoint',
)
if not self.config.cross_get(keys='OpsiMeowfficerFarming.Scheduler.Enable', default=False):
if not self.config.is_task_enabled('OpsiMeowfficerFarming'):
self.config.cross_set(keys='OpsiMeowfficerFarming.Scheduler.Enable', value=True)
while 1:
# Limited action point preserve of hazard 1 to 200
self.config.OS_ACTION_POINT_PRESERVE = 200
if self.config.OpsiAshBeacon_AshAttack \
if self.config.is_task_enabled('OpsiAshBeacon') \
and not self._ash_fully_collected \
and self.config.OpsiAshBeacon_EnsureFullyCollected:
logger.info('Ash beacon not fully collected, ignore action point limit temporarily')