1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-12 08:38:20 +08:00

Add: OpSi drop record

This commit is contained in:
LmeSzinc
2022-01-23 15:42:40 +08:00
parent 65f166ad12
commit d7651559a9
4 changed files with 56 additions and 37 deletions

View File

@@ -184,8 +184,11 @@ class Combat(Combat_, MapEventHandler):
return False
def auto_search_combat(self):
def auto_search_combat(self, drop=None):
"""
Args:
drop (DropImage):
Returns:
bool: True if enemy cleared, False if fleet died.
@@ -202,7 +205,7 @@ class Combat(Combat_, MapEventHandler):
continue
# End
if self.handle_os_auto_search_map_option():
if self.handle_os_auto_search_map_option(drop=drop):
break
if self.is_combat_executing():
break
@@ -221,7 +224,7 @@ class Combat(Combat_, MapEventHandler):
if self.handle_submarine_call(submarine_mode):
continue
if self.handle_os_auto_search_map_option(enable=success):
if self.handle_os_auto_search_map_option(drop=drop, enable=success):
continue
# End