[神魂]======神魂升级后技能描述修改
parent
8bc936aff8
commit
95b7fceb34
|
@ -1709,7 +1709,9 @@ function GetCurrSkillConfigDesc(cfg,soulLv)
|
|||
local ss = {}
|
||||
local skillValue=cfg.DescValue
|
||||
if cfg.SpiritsValue and soulLv and soulLv>0 then
|
||||
skillValue=cfg.SpiritsValue[soulLv]
|
||||
if cfg.SpiritsValue[soulLv] then
|
||||
skillValue=cfg.SpiritsValue[soulLv]
|
||||
end
|
||||
end
|
||||
for i=1, #cfg.DescColor do
|
||||
local str
|
||||
|
|
|
@ -126,6 +126,9 @@ function RoleInfoPopup:BindEvent()
|
|||
this:SetSkillSelectImage(this.skill1.transform, true)
|
||||
|
||||
local star,starType = curHeroData.GetStar(1)
|
||||
if starType~=3 then--非神魂
|
||||
star=nil
|
||||
end
|
||||
local maxLv = HeroManager.GetHeroSkillMaxLevel(curHeroData.heroConfig.Id, allSkillDatas[1].skillConfig.Type)
|
||||
local panel = UIManager.OpenPanel(UIName.SkillInfoPopup, allSkillDatas[1], 4, 10, maxLv, 1,nil,star)
|
||||
--this.skillGrid:GetComponent("Canvas").overrideSorting=true
|
||||
|
@ -151,6 +154,9 @@ function RoleInfoPopup:BindEvent()
|
|||
Log("===============22222 "..allSkillDatas[2].skillConfig.Type)
|
||||
|
||||
local star,starType = curHeroData.GetStar(1)
|
||||
if starType~=3 then--非神魂
|
||||
star=nil
|
||||
end
|
||||
local maxLv = HeroManager.GetHeroSkillMaxLevel(curHeroData.heroConfig.Id, allSkillDatas[2].skillConfig.Type)
|
||||
local panel = UIManager.OpenPanel(UIName.SkillInfoPopup, allSkillDatas[2], 4, 10, maxLv, 2,nil,star)
|
||||
--this.skillGrid:GetComponent("Canvas").overrideSorting=true
|
||||
|
|
Loading…
Reference in New Issue