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

@@ -306,7 +306,7 @@ class FastForwardHandler(AutoSearchHandler):
@property
def is_call_submarine_at_boss(self):
return self.config.SUBMARINE and self.config.Submarine_Mode in ['boss_only', 'hunt_and_boss']
return self.config.SUBMARINE and self.config.Submarine_CallMode == 'boss_only'
def handle_auto_submarine_call_disable(self):
"""