他人英雄详情修改
parent
5e27a00173
commit
d1970ed6cc
|
|
@ -426,7 +426,7 @@ function HandBookRoleInfoLayout:SkillInfo()
|
|||
-- end
|
||||
local maxLv= HeroManager.GetHeroSkillMaxLevel(heroConFigData.Id,skillData.skillConfig.Type)
|
||||
--local panel = UIManager.OpenPanel(UIName.SkillInfoPopup,skillData,1,10,maxLv,i,nextData)
|
||||
if skillList2 and skillList2[i] then
|
||||
if skillList2 and skillList2[i] and i>2 then
|
||||
nextData=skillList2[i]
|
||||
nextData.isOpen=skillList2[i].isOpen
|
||||
nextData.needStar=skillList2[i].needStar
|
||||
|
|
|
|||
|
|
@ -566,6 +566,8 @@ function this.SkillInfo()
|
|||
this.selsectSkillImage.transform.position=Util.GetGameObject(go.transform,"Icon").transform.position
|
||||
local skillData = {}
|
||||
skillData.skillConfig = skillList[i].skillConfig
|
||||
skillData.isOpen=skillList[i].isOpen
|
||||
skillData.needStar=skillList[i].needStar
|
||||
local maxLv= HeroManager.GetHeroSkillMaxLevel(curHeroData.heroConfig.Id,skillData.skillConfig.Type)
|
||||
local panel = UIManager.OpenPanel(UIName.SkillInfoPopup,skillData,1,10,maxLv,i)
|
||||
this.skillGrid:GetComponent("Canvas").sortingOrder = panel.sortingOrder + 1
|
||||
|
|
|
|||
|
|
@ -402,7 +402,7 @@ function this.SkillInfo()
|
|||
-- nextData=skillList2[i]
|
||||
-- end
|
||||
local maxLv= HeroManager.GetHeroSkillMaxLevel(curHeroData.heroConfig.Id,skillData.skillConfig.Type)
|
||||
if skillList2 and skillList2[i] then
|
||||
if skillList2 and skillList2[i] and i>2 then
|
||||
nextData=skillList2[i]
|
||||
nextData.isOpen=skillList2[i].isOpen
|
||||
nextData.needStar=skillList2[i].needStar
|
||||
|
|
|
|||
Loading…
Reference in New Issue