mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-23 00:52:22 +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)
|
||||
self.in_sight(queue[0], sight=(-1, 0, 1, 2))
|
||||
grid = self.convert_map_to_grid(queue[0])
|
||||
if grid.predict_current_fleet():
|
||||
self.fleet_1 = queue[0].location
|
||||
elif grid.predict_fleet():
|
||||
self.fleet_2 = queue[0].location
|
||||
if grid.predict_fleet():
|
||||
if grid.predict_current_fleet():
|
||||
self.fleet_1 = queue[0].location
|
||||
else:
|
||||
self.fleet_2 = queue[0].location
|
||||
queue = queue[1:]
|
||||
|
||||
def find_current_fleet(self):
|
||||
|
Loading…
Reference in New Issue
Block a user