图鉴英雄品质图片显示修改
parent
a01665e2e0
commit
33d6bab82f
|
|
@ -264,7 +264,9 @@ function this:UpdateHeroInfoData()
|
||||||
--定位描述相关
|
--定位描述相关
|
||||||
heroStar=heroConFigData.MaxRank
|
heroStar=heroConFigData.MaxRank
|
||||||
--self.pizhiImg.sprite=this.spLoader:LoadSprite(GetHeroQualityStr(heroConFigData.Natural))
|
--self.pizhiImg.sprite=this.spLoader:LoadSprite(GetHeroQualityStr(heroConFigData.Natural))
|
||||||
self.pizhiImg.sprite=this.spLoader:LoadSprite(GetHeroQualityStr(_curStar))
|
|
||||||
|
--self.pizhiImg.sprite=this.spLoader:LoadSprite(GetHeroQualityStr(_curStar))
|
||||||
|
self.pizhiImg.sprite=this.spLoader:LoadSprite(GetHeroHandBookNaturalImg(heroConFigData.Natural))
|
||||||
self.pizhiImg:SetNativeSize()
|
self.pizhiImg:SetNativeSize()
|
||||||
if _CurPageIndex == RoleInfoPanelIndex.pifu then
|
if _CurPageIndex == RoleInfoPanelIndex.pifu then
|
||||||
local configs = ConfigManager.GetAllConfigsDataByKey(ConfigName.HeroSkin,"HeroId",heroConFigData.Id)
|
local configs = ConfigManager.GetAllConfigsDataByKey(ConfigName.HeroSkin,"HeroId",heroConFigData.Id)
|
||||||
|
|
|
||||||
|
|
@ -937,7 +937,7 @@ function this:UpdateHeroInfoData()
|
||||||
end
|
end
|
||||||
this.tianfuClick:GetComponent("Image").sprite = this.spLoader:LoadSprite("UI_hz_shenjiang_36")
|
this.tianfuClick:GetComponent("Image").sprite = this.spLoader:LoadSprite("UI_hz_shenjiang_36")
|
||||||
LogError("breakid=="..curHeroData.breakId.." upstarid=="..curHeroData.upStarId)
|
LogError("breakid=="..curHeroData.breakId.." upstarid=="..curHeroData.upStarId)
|
||||||
if OpenPassiveSkillRules then
|
if OpenPassiveSkillRules and #OpenPassiveSkillRules>0 then
|
||||||
this.tianfuBtn:SetActive(true)
|
this.tianfuBtn:SetActive(true)
|
||||||
local openlists,compoundOpenNum,compoundNum,allUpStarOpenData = HeroManager.GetAllPassiveSkillIds(curHeroData.heroConfig,curHeroData.breakId,curHeroData.upStarId)
|
local openlists,compoundOpenNum,compoundNum,allUpStarOpenData = HeroManager.GetAllPassiveSkillIds(curHeroData.heroConfig,curHeroData.breakId,curHeroData.upStarId)
|
||||||
this.tianfuInfo.text = #openlists - compoundOpenNum .."/"..#OpenPassiveSkillRules - compoundNum
|
this.tianfuInfo.text = #openlists - compoundOpenNum .."/"..#OpenPassiveSkillRules - compoundNum
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue