1
0
mirror of https://github.com/sui-feng-cb/AzurLaneAutoScript1.git synced 2026-07-07 13:38:30 +08:00

Refactor: separate submarine_mode for clearer semantics

This commit is contained in:
positnuec
2026-07-02 17:47:24 +08:00
parent d9a9b784af
commit bb8a6d6044
19 changed files with 364 additions and 239 deletions

View File

@@ -113,7 +113,7 @@ class StrategyHandler(InfoHandler):
self.strategy_set_execute(
formation=expected_formation,
sub_view=False,
sub_hunt=bool(self.config.Submarine_Fleet) and self.config.Submarine_Mode in ['hunt_only', 'hunt_and_boss']
sub_hunt=bool(self.config.Submarine_Fleet) and self.config.Submarine_HuntMode == 'hunt'
)
self.strategy_close()
self.__setattr__(f'fleet_{index}_formation_fixed', True)