mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-26 18:20:42 +00:00
Fix: 修复按舰队出生点寻找舰队的方法
This commit is contained in:
parent
39ab5776c8
commit
8077760542
@ -249,9 +249,10 @@ class Fleet(Camera, MapOperation, AmbushHandler):
|
||||
queue = queue.sort_by_camera_distance(self.camera)
|
||||
self.in_sight(queue[0], sight=(-1, 0, 1, 2))
|
||||
grid = self.convert_map_to_grid(queue[0])
|
||||
if grid.predict_fleet():
|
||||
if grid.predict_current_fleet():
|
||||
self.fleet_1 = queue[0].location
|
||||
elif grid.predict_fleet():
|
||||
else:
|
||||
self.fleet_2 = queue[0].location
|
||||
queue = queue[1:]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user