mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-19 10:43:33 +08:00
Refactor: Gems farming configs
- Opt: Avoid clicking AUTO_SEARCH_MAP_OPTION_OFF after ignore low emotion warn - Opt: Skip map cat attack in auto search
This commit is contained in:
@@ -343,7 +343,7 @@ class Retirement(Enhancement):
|
||||
Returns:
|
||||
Button:
|
||||
"""
|
||||
if self.config.COMMON_CV_NAME == 'any':
|
||||
if self.config.GemsFarming_CommonCV == 'any':
|
||||
for commen_cv_name in ['BOGUE', 'HERMES', 'LANGLEY', 'RANGER']:
|
||||
template = globals()[f'TEMPLATE_{commen_cv_name}']
|
||||
sim, button = template.match_result(self.device.image.resize(size=(1189, 669)))
|
||||
@@ -355,7 +355,7 @@ class Retirement(Enhancement):
|
||||
return None
|
||||
else:
|
||||
|
||||
template = globals()[f'TEMPLATE_{self.config.COMMON_CV_NAME.upper()}']
|
||||
template = globals()[f'TEMPLATE_{self.config.GemsFarming_CommonCV.upper()}']
|
||||
sim, button = template.match_result(self.device.image.resize(size=(1189, 669)))
|
||||
|
||||
if sim > self.config.COMMON_CV_THRESHOLD:
|
||||
|
||||
Reference in New Issue
Block a user