编队界面看神将情报错误修改

dev_chengFeng
jiaoyangna 2021-11-12 15:51:26 +08:00
parent 8c9e1b7a2f
commit c8e7d0cdd4
1 changed files with 6 additions and 2 deletions

View File

@ -93,7 +93,12 @@ function RoleInfoPopup:BindEvent()
Util.AddClick(this.ShenhunBtn,function()
local s = function()
local pro = {}
local lv = curHeroData.godSoulLv
local lv = 0
if this.isOther then
lv = curHeroData.godSoulLv
else
lv = GodSoulManager.GetGodSoulLv(curHeroData.dynamicId)
end
local skillList = GodSoulManager.GetGodSoulDataByLv(curHeroData.heroConfig.Id,0)
for i = 1,LengthOfTable(skillList) do
@ -191,7 +196,6 @@ function RoleInfoPopup:OnOpen(...)
this.selsectSkillImage:SetActive(false)
local arg = { ... }
curHeroData = arg[1]
LogGreen("curHeroData:"..curHeroData.dynamicId)
this.isOther = arg[2]
choosedList = arg[3] or nil
formationHeroNum = arg[4] or nil