1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-18 08:01:30 +08:00

Add: Heart-Linking Harmony chapter ISP

This commit is contained in:
LmeSzinc
2024-04-26 03:25:58 +08:00
parent fbf7bc02c6
commit bbef93c03d
9 changed files with 443 additions and 2 deletions

View File

@@ -16,7 +16,6 @@ class CampaignBase(CampaignBase_):
self.ui_goto_event()
self.campaign_ensure_chapter(index=chapter)
return True
# μ
def _campaign_get_chapter_index(self, name):
"""
@@ -37,6 +36,13 @@ class CampaignBase(CampaignBase_):
return super(CampaignBase, CampaignBase)._campaign_get_chapter_index(name)
@staticmethod
def _campaign_ocr_result_process(result):
result = CampaignBase_._campaign_ocr_result_process(result)
if result in ['usp', 'iisp']:
result = 'sp'
return result
def is_event_animation(self):
# Blue banner
if self.image_color_count((1180, 285, 1280, 335), color=(140, 215, 255), count=1000):