mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 15:36:59 +08:00
Fix: ocr after_process for SKILL_EXP (#5056)
This commit is contained in:
@@ -62,6 +62,10 @@ class ExpOnBookSelect(DigitCounter):
|
|||||||
def after_process(self, result):
|
def after_process(self, result):
|
||||||
result = super().after_process(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:
|
if '/' not in result:
|
||||||
for exp in [5800, 4400, 3200, 2200, 1400, 800, 400, 200, 100]:
|
for exp in [5800, 4400, 3200, 2200, 1400, 800, 400, 200, 100]:
|
||||||
res = re.match(rf'^(\d+){exp}$', result)
|
res = re.match(rf'^(\d+){exp}$', result)
|
||||||
|
|||||||
Reference in New Issue
Block a user