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

Add: 增加处理被精英抓住

- 修复原地寻路报warning
- 修复到达误判
This commit is contained in:
LmeSzinc
2020-05-23 14:30:07 +08:00
parent 87608f2879
commit eb2a58d7f5
6 changed files with 37 additions and 2 deletions

View File

@@ -30,6 +30,8 @@ class CampaignBase(Map):
def execute_a_battle(self):
logger.hr(f'{self.FUNCTION_NAME_BASE}{self.battle_count}', level=2)
logger.info('Running with poor map data.')
if self.fleet_2_break_siren_caught():
return True
self.clear_all_mystery()
if self.battle_count >= 3:
@@ -50,6 +52,8 @@ class CampaignBase(Map):
def execute_a_battle(self):
logger.hr(f'{self.FUNCTION_NAME_BASE}{self.battle_count}', level=2)
logger.info('Using function: clear_all')
if self.fleet_2_break_siren_caught():
return True
self.clear_all_mystery()
if self.battle_count >= 3: