mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-18 09:11:31 +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)))
|
sim, button = template.match_result(self.device.image.resize(size=(1189, 669)))
|
||||||
|
|
||||||
if sim > self.config.COMMON_CV_THRESHOLD:
|
if sim > self.config.COMMON_CV_THRESHOLD:
|
||||||
return Button(button=tuple(_ * 155 // 144 for _ in button.button), area=button.area,
|
return Button(button=tuple(_*155//144 for _ in button.button), area=button.area, color=button.color,
|
||||||
color=button.color)
|
name=f'TEMPLATE_{commen_cv_name}_RETIRE')
|
||||||
|
|
||||||
return None
|
return None
|
||||||
else:
|
else:
|
||||||
@@ -358,7 +358,8 @@ class Retirement(Enhancement):
|
|||||||
sim, button = template.match_result(self.device.image.resize(size=(1189, 669)))
|
sim, button = template.match_result(self.device.image.resize(size=(1189, 669)))
|
||||||
|
|
||||||
if sim > self.config.COMMON_CV_THRESHOLD:
|
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
|
return None
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user