mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-15 16:57:20 +08:00
Fix: 修复剧情跳过
- 增加黑屏带文字剧情的跳过 - 增加战斗开始时的剧情跳过
This commit is contained in:
@@ -4,9 +4,11 @@ from module.handler.popup import PopupHandler
|
||||
|
||||
class StoryHandler(PopupHandler):
|
||||
def story_skip(self):
|
||||
if self.handle_popup_confirm():
|
||||
return True
|
||||
if self.appear_then_click(STORY_SKIP, offset=True, interval=2):
|
||||
return True
|
||||
if self.handle_popup_confirm():
|
||||
if self.appear(STORY_LETTER_BLACK) and self.appear_then_click(STORY_LETTERS_ONLY, offset=True, interval=2):
|
||||
return True
|
||||
if self.appear_then_click(STORY_CHOOCE, offset=True, interval=2):
|
||||
return True
|
||||
|
||||
Reference in New Issue
Block a user