Fix: [CN] OCR error on Stagnant_Shadow_Scorch

This commit is contained in:
LmeSzinc 2023-10-16 19:13:13 +08:00
parent fca21d88c1
commit d3bf9a808c

View File

@ -70,6 +70,8 @@ class OcrDungeonList(Ocr):
if self.lang == 'cn': if self.lang == 'cn':
result = result.replace('', '') # 巽风之形 result = result.replace('', '') # 巽风之形
result = result.replace('皖A0', '50').replace('', '') result = result.replace('皖A0', '50').replace('', '')
# 燔灼之形•凝滞虚影
result = result.replace('', '')
return result return result
@ -411,7 +413,7 @@ class DungeonUI(UI):
Examples: Examples:
from tasks.dungeon.keywords import KEYWORDS_DUNGEON_LIST from tasks.dungeon.keywords import KEYWORDS_DUNGEON_LIST
self = DungeonUI('alas') self = DungeonUI('src')
self.device.screenshot() self.device.screenshot()
self.dungeon_tab_goto(KEYWORDS_DUNGEON_TAB.Survival_Index) self.dungeon_tab_goto(KEYWORDS_DUNGEON_TAB.Survival_Index)
self.dungeon_goto(KEYWORDS_DUNGEON_LIST.Calyx_Crimson_Harmony) self.dungeon_goto(KEYWORDS_DUNGEON_LIST.Calyx_Crimson_Harmony)