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

Fix: 修复剧情跳过

- 增加黑屏带文字剧情的跳过
- 增加战斗开始时的剧情跳过
This commit is contained in:
LmeSzinc
2020-04-30 23:40:29 +08:00
parent 2c10f77e4d
commit 290e755432
6 changed files with 15 additions and 7 deletions

View File

@@ -47,12 +47,6 @@ class MapOperation(UrgentCommissionHandler, MysteryHandler, FleetPreparation, Re
else:
checked_in_map = True
# Enter campaign
if campaign_timer.reached() and self.is_in_stage():
self.device.click(button)
campaign_timer.reset()
continue
# Map preparation
if map_timer.reached() and self.appear(MAP_PREPARATION):
self.device.sleep(0.3) # Wait for map information.
@@ -90,6 +84,13 @@ class MapOperation(UrgentCommissionHandler, MysteryHandler, FleetPreparation, Re
# Story skip
if self.handle_story_skip():
campaign_timer.reset()
continue
# Enter campaign
if campaign_timer.reached() and self.is_in_stage():
self.device.click(button)
campaign_timer.reset()
continue
# End