From cbc5d4d786bcc8dc72e8f05f530183df66a300f9 Mon Sep 17 00:00:00 2001 From: aaahai00 <108205808+aaahai00@users.noreply.github.com> Date: Sun, 19 Nov 2023 19:04:11 +0800 Subject: [PATCH] Update support.py (#200) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 对改问题的修复https://github.com/LmeSzinc/StarRailCopilot/issues/195 --- tasks/combat/support.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/combat/support.py b/tasks/combat/support.py index bb0f2a123..cc638cdd2 100644 --- a/tasks/combat/support.py +++ b/tasks/combat/support.py @@ -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)