Fix: tactical failed when the ship's all skills are leveled max (#3201)

This commit is contained in:
Yingdong Yang 2023-10-19 02:15:49 +08:00 committed by GitHub
parent 5e6ec95b37
commit dffa87d5df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -624,6 +624,8 @@ class RewardTacticalClass(Dock):
# Empty skill slot
# Probably because all favourite ships have their skill leveled max.
# '———l', '—l'
if not level:
continue
if re.search(r'[—\-一]{2,}', level):
continue
if re.search(r'[—一]+', level):