mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-22 00:35:34 +00:00
Fix: ocr scan chinese '楚天之魔' to replace '焚天之魔' (#618)
This commit is contained in:
parent
c839732fd9
commit
c91ec3cf2b
@ -25,6 +25,7 @@ class OcrItemName(Ocr):
|
||||
def after_process(self, result):
|
||||
result = result.replace('方相果实', '万相果实')
|
||||
result = result.replace('念火之心', '忿火之心')
|
||||
result = result.replace('楚天之魔', '焚天之魔')
|
||||
result = re.sub('^火之心', '忿火之心', result)
|
||||
result = re.sub('工造机$', '工造机杼', result)
|
||||
result = re.sub('工造迥?轮', '工造迴轮', result)
|
||||
|
Loading…
Reference in New Issue
Block a user