1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-11 22:08:20 +08:00

Fix: Protect fleet2 in D2 to archive 3 stars

This commit is contained in:
LmeSzinc
2023-03-10 21:18:53 +08:00
parent 2f3055b8ac
commit ab79961869
4 changed files with 18 additions and 2 deletions

View File

@@ -623,9 +623,10 @@ class Map(Fleet):
Returns:
bool: If clear an enemy.
"""
if self.fleet_boss_index != 2 or not self.config.MAP_HAS_MOVABLE_ENEMY:
if not self.config.FLEET_2 or not self.config.MAP_HAS_MOVABLE_ENEMY:
return False
# When having 2 fleet
for n in range(20):
if not self.map.select(is_siren=True):
return False