1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-27 16:45:37 +08:00

Upd: retire get common cv

This commit is contained in:
sui-feng-cb
2024-12-01 15:30:47 +08:00
parent 3f35459d6a
commit 83bf7421ac

View File

@@ -479,7 +479,10 @@ class Retirement(Enhancement, QuickRetireSettingHandler):
Button: Button:
""" """
if self.config.GemsFarming_CommonCV in ['any', 'eagle']: if self.config.GemsFarming_CommonCV in ['any', 'eagle']:
for common_cv_name in ['BOGUE', 'HERMES', 'LANGLEY', 'RANGER']: common_cv = ['BOGUE', 'RANGER', 'LANGLEY']
if self.config.GemsFarming_CommonCV == 'any':
common_cv.append('HERMES')
for common_cv_name in common_cv:
template = globals()[f'TEMPLATE_{common_cv_name}'] template = globals()[f'TEMPLATE_{common_cv_name}']
sim, button = template.match_result( sim, button = template.match_result(
resize(self.device.image, size=(1189, 669))) resize(self.device.image, size=(1189, 669)))