mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-11 22:08:20 +08:00
Add: Handle stories before event maps
This commit is contained in:
@@ -36,6 +36,9 @@ class CampaignUI(CampaignEvent, CampaignOcr):
|
||||
else:
|
||||
self.device.screenshot()
|
||||
|
||||
if self.handle_chapter_additional():
|
||||
continue
|
||||
|
||||
current = self.get_chapter_index(self.device.image)
|
||||
|
||||
logger.attr("Index", current)
|
||||
@@ -57,6 +60,15 @@ class CampaignUI(CampaignEvent, CampaignOcr):
|
||||
self.device.multi_click(button, n=abs(diff), interval=(0.2, 0.3))
|
||||
retry.reset()
|
||||
|
||||
def handle_chapter_additional(self):
|
||||
"""
|
||||
Called in campaign_ensure_chapter()
|
||||
|
||||
Returns:
|
||||
bool: True if handled
|
||||
"""
|
||||
return False
|
||||
|
||||
def campaign_ensure_mode(self, mode='normal'):
|
||||
"""
|
||||
Args:
|
||||
|
||||
Reference in New Issue
Block a user