mirror of
https://github.com/xuthus83/LittlePaimon.git
synced 2024-10-21 16:27:15 +08:00
Merge pull request #419 from JiaranYa/impro-promote_level
🐞 fix: 修复获取突破
This commit is contained in:
commit
3c0caafa85
@ -306,7 +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'])
|
character.promote_level = int(data['propMap']['1002'].get('val', 0))
|
||||||
if name in ['荧', '空']:
|
if name in ['荧', '空']:
|
||||||
character.region = '未知'
|
character.region = '未知'
|
||||||
character.rarity = 5
|
character.rarity = 5
|
||||||
|
Loading…
Reference in New Issue
Block a user