修正MihomoApi下角色等级错误的问题

This commit is contained in:
Kokomi 2023-06-10 10:15:14 +08:00
parent b5346feeff
commit fa1d25c00c

View File

@ -64,7 +64,7 @@ const HomoData = {
} }
let avatar = player.getAvatar(char.id, true) let avatar = player.getAvatar(char.id, true)
let setData = { let setData = {
level: data.Level, level: data.level,
promote: data.promotion, promote: data.promotion,
cons: data.rank || 0, cons: data.rank || 0,
weapon: Data.getData(data.equipment, 'id:tid,promote:promotion,level,affix:rank'), weapon: Data.getData(data.equipment, 'id:tid,promote:promotion,level,affix:rank'),