mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-09 16:19:03 +08:00
Fix: Catch unexpected OCR result on empty skill slot
This commit is contained in:
parent
06b07ca003
commit
479f06399e
@ -619,9 +619,11 @@ class RewardTacticalClass(Dock):
|
||||
level = skill_level.upper().replace(' ', '')
|
||||
# Empty skill slot
|
||||
# Probably because all favourite ships have their skill leveled max.
|
||||
# '———l'
|
||||
# '———l', '—l'
|
||||
if re.search(r'[—\-一]{2,}', level):
|
||||
continue
|
||||
if re.search(r'[—一]+', level):
|
||||
continue
|
||||
# Use 'MA' as a part of `MAX`.
|
||||
# SKILL_LEVEL_GRIDS may move a little lower for unknown reason, OCR results are like:
|
||||
# ['NEXT:MA', 'NEXT:/1D]', 'NEXT:MA'] (Actually: `NEXT:MAX, NEXT:0/100, NEXT:MAX`)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user