mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-11 23:18:22 +08:00
Merge remote-tracking branch 'origin/master' into operation_siren
This commit is contained in:
@@ -6,8 +6,8 @@ class OSConfig:
|
||||
MAP_HAS_SIREN = True
|
||||
|
||||
MAP_GRID_CENTER_TOLERANCE = 0.2
|
||||
MAP_SWIPE_MULTIPLY = 1.320
|
||||
MAP_SWIPE_MULTIPLY_MINITOUCH = (1.276, 1.072)
|
||||
MAP_SWIPE_MULTIPLY = (1.320, 1.009)
|
||||
MAP_SWIPE_MULTIPLY_MINITOUCH = (1.276, 0.974)
|
||||
|
||||
DETECTION_BACKEND = 'perspective'
|
||||
MID_DIFF_RANGE_H = (103 - 3, 103 + 3)
|
||||
|
||||
@@ -99,4 +99,8 @@ class OSFleet(OSCamera, Combat, Fleet, OSAsh):
|
||||
continue
|
||||
sea.append(self.map[location])
|
||||
|
||||
return SelectedGrids(sea).sort_by_camera_distance(self.fleet_current)
|
||||
if len(self.fleet_current):
|
||||
center = self.fleet_current
|
||||
else:
|
||||
center = self.camera
|
||||
return SelectedGrids(sea).sort_by_camera_distance(center)
|
||||
|
||||
Reference in New Issue
Block a user