mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-04-16 09:05:45 +08:00
Fix: Accessibility check in enemy filter
- Opt: Swipe multiply factor in W12
This commit is contained in:
@@ -52,6 +52,8 @@ class Config:
|
||||
'distance': 50,
|
||||
'wlen': 1000,
|
||||
}
|
||||
MAP_SWIPE_MULTIPLY = 1.493
|
||||
MAP_SWIPE_MULTIPLY_MINITOUCH = 1.443
|
||||
|
||||
|
||||
class Campaign(CampaignBase):
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user