mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-15 15:47:42 +08:00
Chore: Rename "threshold" in template matching to "similarity"
to be differ from the "threshold" in color matching
This commit is contained in:
@@ -462,7 +462,7 @@ class Retirement(Enhancement, QuickRetireSettingHandler):
|
||||
self.device.screenshot()
|
||||
|
||||
# End
|
||||
if not self.appear(RETIRE_COIN, threshold=0.97):
|
||||
if not self.appear(RETIRE_COIN, similarity=0.97):
|
||||
return True
|
||||
if count > 3:
|
||||
logger.warning('_retire_select_one failed after 3 trial')
|
||||
|
||||
Reference in New Issue
Block a user