神印信息面板修改

wangzhenxing 2022-11-07 11:54:52 +08:00
parent c26cb4a0b9
commit 4d5c9b0e53
1 changed files with 3 additions and 2 deletions

View File

@ -250,8 +250,9 @@ function GodPrintPopUp:RefreshShow(type)
if equipConfig[soulId] then --魂印效果
local txt = ""
if equipConfig[soulId].PassiveSkill then
self.effectText.text = GetLanguageStrById(passiveSkillConfig[equipConfig[soulId].PassiveSkill[1]].Desc)
local pass=equipConfig[soulId].PassiveSkill
if pass~=nil and tonumber(pass[1])~=nil and tonumber(pass[1])~=0 then
self.effectText.text = GetLanguageStrById(passiveSkillConfig[pass[1]].Desc)
else
if equipConfig[soulId].Property then
for index, value in ipairs(equipConfig[soulId].Property) do --propertyconfig