mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 08:38:20 +08:00
Refactor: Guild module
- Simplify guild exchange with Filter - Expose submarine mode
This commit is contained in:
@@ -16,14 +16,14 @@ class SubmarineCall(ModuleBase):
|
||||
self.submarine_call_timer.reset()
|
||||
self.submarine_call_flag = False
|
||||
|
||||
def handle_submarine_call(self):
|
||||
def handle_submarine_call(self, submarine='do_not_use'):
|
||||
"""
|
||||
Returns:
|
||||
bool: If call.
|
||||
str: If call.
|
||||
"""
|
||||
if self.submarine_call_flag:
|
||||
return False
|
||||
if not self.config.Submarine_Fleet or self.config.Submarine_Mode in ['do_not_use', 'hunt_only']:
|
||||
if submarine in ['do_not_use', 'hunt_only']:
|
||||
self.submarine_call_flag = True
|
||||
return False
|
||||
if self.submarine_call_timer.reached():
|
||||
|
||||
Reference in New Issue
Block a user