Update support.py (#200)

对改问题的修复https://github.com/LmeSzinc/StarRailCopilot/issues/195
This commit is contained in:
aaahai00 2023-11-19 19:04:11 +08:00 committed by GitHub
parent ab1b817cbe
commit cbc5d4d786
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,7 +27,7 @@ class SupportCharacter:
_image_cache = {}
_crop_area = COMBAT_SUPPORT_LIST_GRID.matched_button.area
def __init__(self, name, screenshot, similarity=0.85):
def __init__(self, name, screenshot, similarity=0.75):
self.name = name
self.image = self._scale_character()
self.screenshot = crop(screenshot, SupportCharacter._crop_area)