[Enhance][Bug fix] Another bundle mode & skill_amane bug

- For Arcaea 5.6.0
- Fix a bug that `skill_amane` may arise error when the step type of world map is null.
- Add a new bundle update mode, which is same with official server, that the server will find a update path from old version to new version, ignoring the application version restrictions.
This commit is contained in:
Lost-MSth
2024-04-26 17:55:29 +08:00
parent 2d498ae02b
commit efedd96908
7 changed files with 124 additions and 9 deletions

View File

@@ -86,7 +86,7 @@ class Step:
self.restrict_ids = d.get('restrict_ids')
self.restrict_type = d.get('restrict_type')
self.restrict_difficulty = d.get('restrict_difficulty')
self.step_type = d.get('step_type')
self.step_type = d.get('step_type', [])
self.speed_limit_value = d.get('speed_limit_value')
self.plus_stamina_value = d.get('plus_stamina_value')
if 'items' in d: