mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 01:38:21 +08:00
Fix: Handle machine fortress
This commit is contained in:
@@ -422,12 +422,15 @@ class Map(Fleet):
|
||||
|
||||
if self.config.FLEET_2:
|
||||
kwargs['sort'] = ('weight', 'cost_2')
|
||||
grids = self.map.select(is_siren=True)
|
||||
grids = self.map.select(is_siren=True).add(self.map.select(manual_siren=True))
|
||||
grids = self.select_grids(grids, **kwargs)
|
||||
|
||||
if grids:
|
||||
logger.hr('Clear siren')
|
||||
self.show_select_grids(grids, **kwargs)
|
||||
if grids[0].manual_siren:
|
||||
# Manual sirens are not spawning sirens, shouldn't siren_count
|
||||
self.siren_count -= 1
|
||||
self.clear_chosen_enemy(grids[0], expected='siren')
|
||||
return True
|
||||
|
||||
|
||||
Reference in New Issue
Block a user