mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-11 23:18:22 +08:00
Fix: wrong and/or usage;fix wrong function;improve translation
This commit is contained in:
@@ -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' or self.config.Submarine_Mode == 'hunt_and_boss '
|
||||
return self.config.SUBMARINE and self.config.Submarine_Mode in ['boss_only', 'hunt_and_boss']
|
||||
|
||||
def handle_auto_submarine_call_disable(self):
|
||||
"""
|
||||
|
||||
@@ -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' or self.config.Submarine_Mode == 'hunt_and_boss'
|
||||
sub_hunt=bool(self.config.Submarine_Fleet) and self.config.Submarine_Mode in ['boss_only', 'hunt_and_boss']
|
||||
)
|
||||
self.strategy_close()
|
||||
self.__setattr__(f'fleet_{index}_formation_fixed', True)
|
||||
|
||||
Reference in New Issue
Block a user