mirror of
https://github.com/PaiGramTeam/EnkaNetwork.py.git
synced 2024-11-16 03:45:28 +00:00
Fix assets proundMap
This commit is contained in:
parent
7e196b0157
commit
1bc18612b0
@ -108,10 +108,12 @@ class Assets:
|
||||
LOGGER.error(f"Character skills not found with id: {id}")
|
||||
return
|
||||
|
||||
|
||||
pround = data.get("proudSkillGroupId", 0)
|
||||
return assets.CharacterSkillAsset.parse_obj({
|
||||
"id": id,
|
||||
**data,
|
||||
"pround_map": data.get("proudSkillGroupId", 0),
|
||||
"pround_map": pround if not pround is None and pround != "" else 0,
|
||||
"icon": utils.IconAsset(filename=data["skillIcon"])
|
||||
})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user