[Enhance] Save unlock? & songlist parser?

- Support more things in full cloud save unlocking and songlist parser
- For Arcaea 5.0.1

> NOTE: May not work well because this client version is not completed and confusing!!
This commit is contained in:
Lost-MSth
2023-09-28 21:48:54 +08:00
parent 5788972692
commit 1f389e4073
7 changed files with 65 additions and 24 deletions

View File

@@ -96,13 +96,16 @@ class SaveData:
i['c'] = True
i['r'] = True
for i in self.unlocklist_data:
if i['unlock_key'][-3:] == '101':
x = i['unlock_key']
if x[-3:] == '101':
i['complete'] = 100
elif i['unlock_key'][:16] == 'aegleseeker|2|3|':
elif x[:16] == 'aegleseeker|2|3|':
i['complete'] = 10
elif i['unlock_key'] == 'saikyostronger|2|3|einherjar|2':
elif x == 'saikyostronger|2|3|einherjar|2':
i['complete'] = 6
elif i['unlock_key'] == 'saikyostronger|2|3|laqryma|2':
elif x == 'saikyostronger|2|3|laqryma|2':
i['complete'] = 3
elif x[-5:-2] == '109':
i['complete'] = 3
else:
i['complete'] = 1