mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-09 18:39:04 +08:00
Fix: ocr after_process for SKILL_EXP (#5056)
This commit is contained in:
parent
6d3acaaddb
commit
f7d1eeab1b
@ -62,6 +62,10 @@ class ExpOnBookSelect(DigitCounter):
|
||||
def after_process(self, result):
|
||||
result = super().after_process(result)
|
||||
|
||||
if result.endswith("580"):
|
||||
new = result[:-3] + "5800"
|
||||
logger.info(f'ExpOnBookSelect result {result} is revised to {new}')
|
||||
result = new
|
||||
if '/' not in result:
|
||||
for exp in [5800, 4400, 3200, 2200, 1400, 800, 400, 200, 100]:
|
||||
res = re.match(rf'^(\d+){exp}$', result)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user