From d3bf9a808cb374fe1151e9f74df520fd78fd26c3 Mon Sep 17 00:00:00 2001 From: LmeSzinc <37934724+LmeSzinc@users.noreply.github.com> Date: Mon, 16 Oct 2023 19:13:13 +0800 Subject: [PATCH] Fix: [CN] OCR error on Stagnant_Shadow_Scorch --- tasks/dungeon/ui.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tasks/dungeon/ui.py b/tasks/dungeon/ui.py index 5b5029928..7ecdff49d 100644 --- a/tasks/dungeon/ui.py +++ b/tasks/dungeon/ui.py @@ -70,6 +70,8 @@ class OcrDungeonList(Ocr): if self.lang == 'cn': result = result.replace('翼', '巽') # 巽风之形 result = result.replace('皖A0', '50').replace('皖', '') + # 燔灼之形•凝滞虚影 + result = result.replace('熠', '燔') return result @@ -411,7 +413,7 @@ class DungeonUI(UI): Examples: from tasks.dungeon.keywords import KEYWORDS_DUNGEON_LIST - self = DungeonUI('alas') + self = DungeonUI('src') self.device.screenshot() self.dungeon_tab_goto(KEYWORDS_DUNGEON_TAB.Survival_Index) self.dungeon_goto(KEYWORDS_DUNGEON_LIST.Calyx_Crimson_Harmony)