1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-12 07:28:21 +08:00
* fix: add PAUSE_HolyLight at `_at_low_hp`

* fix: handle map file name
This commit is contained in:
霞飛
2025-02-07 01:09:24 +08:00
committed by GitHub
parent e1dd8a260e
commit 6e4601dd2b
2 changed files with 4 additions and 3 deletions

View File

@@ -2,6 +2,7 @@ import importlib
from campaign.campaign_hard.campaign_hard import Campaign
from module.campaign.run import CampaignRun
from module.handler.fast_forward import to_map_file_name
from module.hard.assets import *
from module.logger import logger
from module.ocr.ocr import Digit
@@ -15,8 +16,7 @@ class CampaignHard(CampaignRun):
def run(self):
logger.hr('Campaign hard', level=1)
chapter, stage = self.config.Hard_HardStage.split('-')
name = f'campaign_{chapter}_{stage}'
name = to_map_file_name(self.config.Hard_HardStage)
self.config.override(
Campaign_Mode='hard',
Campaign_UseFleetLock=True,