背包通用碎片显示修改
parent
0c1b52f64f
commit
07f7aa5f41
|
@ -353,9 +353,10 @@ function RewardItemSingleShowPopup:OnShow()
|
||||||
if itemConfigData.RewardGroup then
|
if itemConfigData.RewardGroup then
|
||||||
local reward=ConfigManager.GetConfigData(ConfigName.RewardGroup,itemConfigData.RewardGroup[1])
|
local reward=ConfigManager.GetConfigData(ConfigName.RewardGroup,itemConfigData.RewardGroup[1])
|
||||||
if reward then
|
if reward then
|
||||||
skillId=reward.ShowItem[1][1]
|
local config=ConfigManager.TryGetConfigDataByKey(ConfigName.ChangingCard,"CardId",reward.ShowItem[1][1])
|
||||||
local config=ConfigManager.GetConfigDataByKey(ConfigName.ChangingCard,"CardId",skillId)
|
if config then
|
||||||
skillId=config.Id
|
skillId=config.Id
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
elseif itemConfigData.ItemType==ItemType.Incarnation then
|
elseif itemConfigData.ItemType==ItemType.Incarnation then
|
||||||
|
@ -365,6 +366,8 @@ function RewardItemSingleShowPopup:OnShow()
|
||||||
if skillId~=0 then
|
if skillId~=0 then
|
||||||
this.infoBar:SetActive(true)
|
this.infoBar:SetActive(true)
|
||||||
this.infoBarTxt.text="变身卡技能:"..IncarnationManager.GetSkillDesStr(skillId,5)
|
this.infoBarTxt.text="变身卡技能:"..IncarnationManager.GetSkillDesStr(skillId,5)
|
||||||
|
else
|
||||||
|
this.infoBar:SetActive(false)
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
this.infoBar:SetActive(false)
|
this.infoBar:SetActive(false)
|
||||||
|
|
Loading…
Reference in New Issue