mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-22 10:33:44 +08:00
Add: custom common cv filter
This commit is contained in:
@@ -536,8 +536,10 @@ class Retirement(Enhancement, QuickRetireSettingHandler):
|
||||
Returns:
|
||||
Button:
|
||||
"""
|
||||
if self.config.GemsFarming_CommonCV in ['any', 'eagle']:
|
||||
common_cv = self.get_common_cv_filter(self.config.GemsFarming_CommonCVFilter, output=False)
|
||||
preset = self.config.GemsFarming_CommonCV
|
||||
if preset in ['custom', 'any', 'eagle']:
|
||||
filter_string = self.config.GemsFarming_CommonCVFilter if preset == 'custom' else self.config.COMMON_CV_FILTER
|
||||
common_cv = self.get_common_cv_filter(filter_string, output=False)
|
||||
if self.config.GemsFarming_CommonCV == 'eagle' and 'hermes' in common_cv:
|
||||
common_cv.remove('hermes')
|
||||
logger.attr('Filter sort', ' > '.join(common_cv))
|
||||
|
||||
Reference in New Issue
Block a user