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

Fix: Accessibility check in enemy filter

- Opt: Swipe multiply factor in W12
This commit is contained in:
LmeSzinc
2021-10-19 12:35:07 +08:00
parent 563720fb16
commit deddf3d404
2 changed files with 3 additions and 1 deletions

View File

@@ -602,7 +602,7 @@ class Map(Fleet):
bool: If clear an enemy.
"""
ENEMY_FILTER.load(string)
grids = self.map.select(is_enemy=True)
grids = self.map.select(is_enemy=True, is_accessible=True)
if not grids:
return False