1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-12 00:28:20 +08:00

Merge pull request #1411 from LmeSzinc/bug_fix

Bug fix
This commit is contained in:
LmeSzinc
2022-07-25 01:34:09 +08:00
committed by GitHub
3 changed files with 9 additions and 3 deletions

View File

@@ -408,6 +408,8 @@ class ResearchProject:
if len(parts) == 3:
prefix, number, suffix = parts
number = number.replace('D', '0').replace('O', '0').replace('S', '5')
if prefix == 'I1':
prefix = 'D'
prefix = prefix.strip('I1')
# S3 D-022-MI (S3-Drake-0.5) detected as 'D-022-ML', because of Drake's white cloth.
suffix = suffix.replace('ML', 'MI').replace('MIL', 'MI')