1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-14 17:46:01 +08:00

Add: Control CL1 record independently

This commit is contained in:
positnuec
2026-02-15 17:40:54 +08:00
parent 1e5a7d444b
commit cc4ec5d320
8 changed files with 50 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)