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

Add: Hybrid submarine hunt

This commit is contained in:
bookbug666
2022-11-29 12:01:07 +08:00
parent 6fef26f24e
commit db4e30293e
2 changed files with 2 additions and 2 deletions

View File

@@ -224,7 +224,7 @@ class FastForwardHandler(AutoSearchHandler):
@property
def is_call_submarine_at_boss(self):
return self.config.SUBMARINE and self.config.Submarine_Mode == 'boss_only'
return self.config.SUBMARINE and self.config.Submarine_Mode == 'boss_only' or self.config.Submarine_Mode == 'hunt_and_boss '
def handle_auto_submarine_call_disable(self):
"""

View File

@@ -95,7 +95,7 @@ class StrategyHandler(InfoHandler):
self.strategy_set_execute(
formation_index=expected_formation,
sub_view=False,
sub_hunt=bool(self.config.Submarine_Fleet) and self.config.Submarine_Mode == 'hunt_only'
sub_hunt=bool(self.config.Submarine_Fleet) and self.config.Submarine_Mode == 'hunt_only' or self.config.Submarine_Mode == 'hunt_and_boss'
)
self.strategy_close()
self.__setattr__(f'fleet_{index}_formation_fixed', True)