🎈 perf: 添加获取角色突破

This commit is contained in:
JiaranYa 2023-03-27 18:19:37 +02:00
parent 8beebf4172
commit 46a5445ac9

View File

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