mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 00:28:20 +08:00
Merge branch 'master' into app
# Conflicts: # module/retire/retirement.py
This commit is contained in:
@@ -348,8 +348,8 @@ class Retirement(Enhancement):
|
||||
sim, button = template.match_result(self.device.image.resize(size=(1189, 669)))
|
||||
|
||||
if sim > self.config.COMMON_CV_THRESHOLD:
|
||||
return Button(button=tuple(_ * 155 // 144 for _ in button.button), area=button.area,
|
||||
color=button.color)
|
||||
return Button(button=tuple(_*155//144 for _ in button.button), area=button.area, color=button.color,
|
||||
name=f'TEMPLATE_{commen_cv_name}_RETIRE')
|
||||
|
||||
return None
|
||||
else:
|
||||
@@ -358,7 +358,8 @@ class Retirement(Enhancement):
|
||||
sim, button = template.match_result(self.device.image.resize(size=(1189, 669)))
|
||||
|
||||
if sim > self.config.COMMON_CV_THRESHOLD:
|
||||
return Button(button=tuple(_ * 155 // 144 for _ in button.button), area=button.area, color=button.color)
|
||||
return Button(button=tuple(_*155//144 for _ in button.button), area=button.area, color=button.color,
|
||||
name=f'TEMPLATE_{self.config.GemsFarming_CommonCV.upper()}_RETIRE')
|
||||
|
||||
return None
|
||||
|
||||
|
||||
Reference in New Issue
Block a user