mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-19 23:33:33 +08:00
Fix: CommonCV option
This commit is contained in:
@@ -244,7 +244,7 @@ class GemsFarming(CampaignRun, Dock, EquipmentChange, GemsEquipmentHandler):
|
|||||||
bool: True if flagship changed.
|
bool: True if flagship changed.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
if self.config.GemsFarming_CommonCV == 'any':
|
if self.config.GemsFarming_CommonCV in ['any', 'eagle']:
|
||||||
index_list = range(3, 5)
|
index_list = range(3, 5)
|
||||||
else:
|
else:
|
||||||
index_list = range(0, 5)
|
index_list = range(0, 5)
|
||||||
|
|||||||
@@ -470,7 +470,7 @@ class Retirement(Enhancement, QuickRetireSettingHandler):
|
|||||||
Returns:
|
Returns:
|
||||||
Button:
|
Button:
|
||||||
"""
|
"""
|
||||||
if self.config.GemsFarming_CommonCV == 'any':
|
if self.config.GemsFarming_CommonCV in ['any', 'eagle']:
|
||||||
for common_cv_name in ['BOGUE', 'HERMES', 'LANGLEY', 'RANGER']:
|
for common_cv_name in ['BOGUE', 'HERMES', 'LANGLEY', 'RANGER']:
|
||||||
template = globals()[f'TEMPLATE_{common_cv_name}']
|
template = globals()[f'TEMPLATE_{common_cv_name}']
|
||||||
sim, button = template.match_result(
|
sim, button = template.match_result(
|
||||||
|
|||||||
Reference in New Issue
Block a user