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

Opt: update warArchives - Iris of Light and Dark's map info

This commit is contained in:
julystone
2022-01-18 18:53:32 +08:00
parent 4bf8455ae8
commit febd8d7937
12 changed files with 47 additions and 13 deletions

View File

@@ -54,6 +54,7 @@ class Config(ConfigBase):
MAP_HAS_MAP_STORY = False
MAP_HAS_FLEET_STEP = True
MAP_HAS_AMBUSH = False
MAP_HAS_MYSTERY = True
# ===== End of generated config =====
INTERNAL_LINES_FIND_PEAKS_PARAMETERS = {
@@ -66,19 +67,20 @@ class Config(ConfigBase):
class Campaign(CampaignBase):
MAP = MAP
ENEMY_FILTER = '1L > 1M > 1E > 1C > 2L > 2M > 2E > 2C > 3L > 3M > 3E > 3C'
def battle_0(self):
if self.clear_siren():
return True
if self.clear_enemy(scale=(2, 3)):
if self.clear_filter_enemy(self.ENEMY_FILTER, preserve=1):
return True
return self.battle_default()
def battle_5(self):
if self.clear_enemy(scale=(1,)):
if self.clear_siren():
return True
if self.clear_enemy(scale=(2,)):
if self.clear_filter_enemy(self.ENEMY_FILTER, preserve=0):
return True
return self.battle_default()