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