mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-17 15:45:26 +08:00
Add: GIF template multi-match
- Fix: IndexError when finding Hard campaign
This commit is contained in:
@@ -31,9 +31,7 @@ class CampaignHard(CampaignRun):
|
||||
|
||||
# UI ensure
|
||||
self.ui_weigh_anchor()
|
||||
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}')
|
||||
self.campaign.ensure_campaign_ui(self.config.HARD_CAMPAIGN)
|
||||
|
||||
# Run
|
||||
remain = OCR_HARD_REMAIN.ocr(self.device.image)
|
||||
|
||||
Reference in New Issue
Block a user