【皮肤】战斗结算,mvp名字,战斗统计头像
parent
a1f0db3d38
commit
08ded6e512
|
@ -58,7 +58,7 @@ function this:OnOpen(heroTId,skinId, damageValue, allDamage, func,_func2)
|
|||
|
||||
|
||||
-- 名称
|
||||
this.firstName.text = GetLanguageStrById(heroTData.ReadingName)
|
||||
this.firstName.text = GetLanguageStrById(ConfigManager.GetConfigData(ConfigName.HeroConfig,heroTId).ReadingName)
|
||||
-- 伤害数值
|
||||
this.firstDamage.text = damageValue
|
||||
-- 伤害占比
|
||||
|
|
|
@ -358,8 +358,8 @@ function this.HeadAdapter(head, data)
|
|||
-- 头像
|
||||
frame.sprite = this.spLoader:LoadSprite(GetHeroQuantityImageByquality(config.Quality, star))
|
||||
local aa=config.Icon
|
||||
if data.skinId and data.skinId>0 then
|
||||
local skinConfig=ConfigManager.GetConfigDataByKey(ConfigName.HeroSkin,"Type",data.skinId)
|
||||
if skinId and skinId>0 then
|
||||
local skinConfig=ConfigManager.GetConfigDataByKey(ConfigName.HeroSkin,"Type",skinId)
|
||||
if skinConfig then
|
||||
aa=skinConfig.Icon
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue