mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 13:17:00 +08:00
Opt: Chapter 8
- Add: clear_first_roadblocks - Opt: mysteries now only sort by cost - Fix: clear roadblocks in clear_potential_boss
This commit is contained in:
@@ -186,7 +186,7 @@ class RoadGrids:
|
||||
grids += block.select(is_enemy=True).grids
|
||||
return SelectedGrids(grids)
|
||||
|
||||
def first_roadblock(self):
|
||||
def first_roadblocks(self):
|
||||
"""
|
||||
Returns:
|
||||
SelectedGrids:
|
||||
@@ -197,7 +197,7 @@ class RoadGrids:
|
||||
continue
|
||||
if np.any([grid.is_cleared for grid in block]):
|
||||
continue
|
||||
if block.select(is_enemy=True).count == 1:
|
||||
if block.select(is_enemy=True).count >= 1:
|
||||
grids += block.select(is_enemy=True).grids
|
||||
return SelectedGrids(grids)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user