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

Add: Control CL1 Record independently

This commit is contained in:
positnuec
2026-03-09 12:50:27 +08:00
parent ecf2a841cf
commit da7ca5d706
9 changed files with 51 additions and 2 deletions

View File

@@ -956,9 +956,11 @@ class OSMap(OSFleet, Map, GlobeCamera, StorageHandler, StrategicSearchHandler):
logger.info(f'Run auto search, question={question}, rescan={rescan}')
finished_combat = 0
genre = inflection.underscore(self.config.task.command)
with self.stat.new(
genre=inflection.underscore(self.config.task.command),
method=self.config.DropRecord_OpsiRecord
genre=genre,
method=(self.config.DropRecord_CL1Record if genre == 'opsi_hazard1_leveling'
else self.config.DropRecord_OpsiRecord)
) as drop:
while 1:
combat = self.os_auto_search_run(drop, interrupt=interrupt)