Merge pull request #416 from JiaranYa/impro-promote_level

🎈 perf: 添加获取角色突破
This commit is contained in:
惜月 2023-03-28 00:27:46 +08:00 committed by GitHub
commit b9727c3bcb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -306,6 +306,7 @@ class Character(Model):
character.character_id = data['avatarId']
character.level = int(data['propMap']['4001']['val'])
character.fetter = data['fetterInfo']['expLevel']
character.promote_level = int(data['propMap']['1002']['val'])
if name in ['', '']:
character.region = '未知'
character.rarity = 5