mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-19 23:33:33 +08:00
Add: Hybrid submarine hunt
This commit is contained in:
@@ -224,7 +224,7 @@ class FastForwardHandler(AutoSearchHandler):
|
|||||||
|
|
||||||
@property
|
@property
|
||||||
def is_call_submarine_at_boss(self):
|
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):
|
def handle_auto_submarine_call_disable(self):
|
||||||
"""
|
"""
|
||||||
|
|||||||
@@ -95,7 +95,7 @@ class StrategyHandler(InfoHandler):
|
|||||||
self.strategy_set_execute(
|
self.strategy_set_execute(
|
||||||
formation_index=expected_formation,
|
formation_index=expected_formation,
|
||||||
sub_view=False,
|
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.strategy_close()
|
||||||
self.__setattr__(f'fleet_{index}_formation_fixed', True)
|
self.__setattr__(f'fleet_{index}_formation_fixed', True)
|
||||||
|
|||||||
Reference in New Issue
Block a user