mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-23 10:58:01 +08:00
Fix: 修复了寻找当前队伍时, 必定报warning的问题
This commit is contained in:
@@ -185,7 +185,9 @@ class Fleet(Camera, AmbushHandler, MysteryHandler, MapOperation):
|
|||||||
if self.convert_map_to_grid(fleets[0]).predict_current_fleet():
|
if self.convert_map_to_grid(fleets[0]).predict_current_fleet():
|
||||||
self.fleet_1 = fleets[0].location
|
self.fleet_1 = fleets[0].location
|
||||||
self.fleet_2 = fleets[1].location
|
self.fleet_2 = fleets[1].location
|
||||||
elif self.convert_map_to_grid(fleets[1]).predict_current_fleet():
|
else:
|
||||||
|
self.in_sight(fleets[1], sight=(-1, 0, 1, 2))
|
||||||
|
if self.convert_map_to_grid(fleets[1]).predict_current_fleet():
|
||||||
self.fleet_1 = fleets[1].location
|
self.fleet_1 = fleets[1].location
|
||||||
self.fleet_2 = fleets[0].location
|
self.fleet_2 = fleets[0].location
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user