1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-04-03 12:19:41 +08:00

Opt: Battle logic in HT4 HT5 HT6 T6

- Add map_is_clear_mode
This commit is contained in:
LmeSzinc
2020-09-20 19:15:34 +08:00
parent d36e5754ae
commit 24e5094680
6 changed files with 61 additions and 4 deletions

View File

@@ -77,6 +77,7 @@ class Config(ConfigBase):
MAP_SWIPE_MULTIPLY_MINITOUCH = 1.82
MAP_SWIPE_MULTIPLY = 1.88
class Campaign(CampaignBase):
MAP = MAP
@@ -86,6 +87,22 @@ class Campaign(CampaignBase):
if self.clear_siren():
return True
if self.map_is_clear_mode:
if self.clear_enemy(scale=(2,)):
return True
if self.clear_enemy(scale=(1,)):
return True
return self.battle_default()
def battle_2(self):
if self.clear_siren():
return True
if self.map_is_clear_mode:
if self.clear_enemy(scale=(2,)):
return True
if self.clear_enemy(scale=(1,)):
return True
return self.battle_default()