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,10 +249,11 @@ class Fleet(Camera, MapOperation, AmbushHandler):
|
|||||||
queue = queue.sort_by_camera_distance(self.camera)
|
queue = queue.sort_by_camera_distance(self.camera)
|
||||||
self.in_sight(queue[0], sight=(-1, 0, 1, 2))
|
self.in_sight(queue[0], sight=(-1, 0, 1, 2))
|
||||||
grid = self.convert_map_to_grid(queue[0])
|
grid = self.convert_map_to_grid(queue[0])
|
||||||
if grid.predict_current_fleet():
|
if grid.predict_fleet():
|
||||||
self.fleet_1 = queue[0].location
|
if grid.predict_current_fleet():
|
||||||
elif grid.predict_fleet():
|
self.fleet_1 = queue[0].location
|
||||||
self.fleet_2 = queue[0].location
|
else:
|
||||||
|
self.fleet_2 = queue[0].location
|
||||||
queue = queue[1:]
|
queue = queue[1:]
|
||||||
|
|
||||||
def find_current_fleet(self):
|
def find_current_fleet(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user