1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-22 04:49:17 +08:00

Fix: Daily hard has no campaign_extract_name_image

- Fix event switching with campaign ball
- Add MAP_IS_ONE_TIME_STAGE
- Opt description of event_stage in GUI
- Add info when map file not found
This commit is contained in:
LmeSzinc
2020-09-18 22:37:54 +08:00
parent 3d6008be7a
commit 62957d9830
8 changed files with 32 additions and 19 deletions

View File

@@ -31,9 +31,9 @@ class CampaignHard(CampaignRun):
# UI ensure
self.ui_weigh_anchor()
self.campaign_ensure_chapter(index=int(chapter))
self.campaign_ensure_mode(mode='hard')
self.campaign.ENTRANCE = self.campaign_get_entrance(name=f'{chapter}-{stage}')
self.campaign.campaign_ensure_chapter(index=int(chapter))
self.campaign.campaign_ensure_mode(mode='hard')
self.campaign.ENTRANCE = self.campaign.campaign_get_entrance(name=f'{chapter}-{stage}')
# Run
remain = OCR_HARD_REMAIN.ocr(self.device.image)