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

Fix: 修复地图特效导致的章节名识别错误和进图等待

- 章节名识别错误时有20次重试的机会
- 进图时不再使用章节图标识别
- 更改了exception文件的位置
This commit is contained in:
LmeSzinc
2020-04-25 17:10:22 +08:00
parent f5ee202934
commit 6b56215d71
16 changed files with 41 additions and 23 deletions

View File

@@ -6,8 +6,8 @@ from module.handler.story import StoryHandler
from module.handler.urgent_commission import UrgentCommissionHandler
from module.logger import logger
from module.map.assets import *
from module.map.exception import CampaignEnd
from module.map.exception import ScriptEnd
from module.exception import CampaignEnd
from module.exception import ScriptEnd
from module.map.map_fleet_preparation import FleetPreparation
from module.retire.retirement import Retirement
@@ -49,7 +49,8 @@ class MapOperation(UrgentCommissionHandler, MysteryHandler, FleetPreparation, Re
checked_in_map = True
# Enter campaign
if campaign_timer.reached() and self.appear_then_click(button):
if campaign_timer.reached() and self.is_in_stage():
self.device.click(button)
campaign_timer.reset()
continue