mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 06:18:21 +08:00
Refactor: Correct fleet_2 and fleet_boss uses
This commit is contained in:
@@ -508,7 +508,7 @@ class Map(Fleet):
|
||||
Returns:
|
||||
bool: if clear an enemy.
|
||||
"""
|
||||
if self.fleet_boss_index != 2:
|
||||
if not self.config.FLEET_2:
|
||||
return False
|
||||
for grid in grids:
|
||||
if self.fleet_at(grid=grid, fleet=2):
|
||||
|
||||
Reference in New Issue
Block a user