mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-23 05:08:01 +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,
|
'distance': 50,
|
||||||
'wlen': 1000,
|
'wlen': 1000,
|
||||||
}
|
}
|
||||||
|
MAP_SWIPE_MULTIPLY = 1.493
|
||||||
|
MAP_SWIPE_MULTIPLY_MINITOUCH = 1.443
|
||||||
|
|
||||||
|
|
||||||
class Campaign(CampaignBase):
|
class Campaign(CampaignBase):
|
||||||
|
|||||||
@@ -602,7 +602,7 @@ class Map(Fleet):
|
|||||||
bool: If clear an enemy.
|
bool: If clear an enemy.
|
||||||
"""
|
"""
|
||||||
ENEMY_FILTER.load(string)
|
ENEMY_FILTER.load(string)
|
||||||
grids = self.map.select(is_enemy=True)
|
grids = self.map.select(is_enemy=True, is_accessible=True)
|
||||||
if not grids:
|
if not grids:
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user