1
0
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:
LmeSzinc
2024-12-09 15:20:34 +08:00
parent 40b3c252dc
commit 164db6f4da
10 changed files with 44 additions and 46 deletions

View File

@@ -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')