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

Opt: full scan

This commit is contained in:
LmeSzinc
2020-08-04 01:24:54 +08:00
parent ac095b7d65
commit 6edde3933d
4 changed files with 31 additions and 24 deletions

View File

@@ -141,7 +141,7 @@ class GridInfo:
"""
Args:
info (GridInfo):
mode (str): Scan mode, such as 'normal', 'carrier', 'move'
mode (str): Scan mode, such as 'normal', 'carrier', 'movable'
Returns:
bool: If success.
@@ -166,6 +166,11 @@ class GridInfo:
self.enemy_scale = 0
self.enemy_genre = info.enemy_genre
return True
elif mode == 'movable' and not self.is_land:
self.is_siren = True
self.enemy_scale = 0
self.enemy_genre = info.enemy_genre
return True
else:
return False
if info.is_enemy: