mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-13 00:57:01 +08:00
22 lines
666 B
Python
22 lines
666 B
Python
|
|
from module.handler.assets import *
|
||
|
|
from module.handler.popup import PopupHandler
|
||
|
|
|
||
|
|
|
||
|
|
class StoryHandler(PopupHandler):
|
||
|
|
def story_skip(self):
|
||
|
|
if self.appear_then_click(STORY_SKIP, offset=True, interval=2):
|
||
|
|
return True
|
||
|
|
if self.handle_popup_confirm():
|
||
|
|
return True
|
||
|
|
if self.appear_then_click(STORY_CHOOCE, offset=True, interval=2):
|
||
|
|
return True
|
||
|
|
if self.appear_then_click(STORY_CHOOCE_2, offset=True, interval=2):
|
||
|
|
return True
|
||
|
|
|
||
|
|
return False
|
||
|
|
|
||
|
|
def handle_story_skip(self):
|
||
|
|
if not self.config.ENABLE_MAP_CLEAR_MODE:
|
||
|
|
return False
|
||
|
|
|
||
|
|
return self.story_skip()
|