化身bug修改
parent
b1cf666e41
commit
0c3dec451f
|
|
@ -44,7 +44,7 @@ function IncarnationForcePanel:BindEvent()
|
||||||
local curHaveItemNum=BagManager.GetItemCountById(this.configData.ExpCost[1])
|
local curHaveItemNum=BagManager.GetItemCountById(this.configData.ExpCost[1])
|
||||||
local curCostItemNum=this.configData.ExpCost[2]
|
local curCostItemNum=this.configData.ExpCost[2]
|
||||||
if curHaveItemNum <curCostItemNum then
|
if curHaveItemNum <curCostItemNum then
|
||||||
PopupTipPanel.ShowTip("材料不足")
|
PopupTipPanel.ShowTip("化身之力不足,无法升级")
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
NetManager.SendTransformationForceUpRequest(IncarnationManager.incarnationForceLv,function ()
|
NetManager.SendTransformationForceUpRequest(IncarnationManager.incarnationForceLv,function ()
|
||||||
|
|
|
||||||
|
|
@ -114,7 +114,7 @@ function this.OnShowSingleCardData(go,heroData)--isSelect 1选择 2 没选择
|
||||||
icon.sprite = this.spLoader:LoadSprite(heroData.icon)
|
icon.sprite = this.spLoader:LoadSprite(heroData.icon)
|
||||||
num.text = heroData.num
|
num.text = heroData.num
|
||||||
proIcon.sprite = this.spLoader:LoadSprite(GetProStrImageByProNum(heroData.itemConfig.val[9]))--9是阵营id
|
proIcon.sprite = this.spLoader:LoadSprite(GetProStrImageByProNum(heroData.itemConfig.val[9]))--9是阵营id
|
||||||
name.text = heroData.name
|
name.text =string.gsub(heroData.name, "变身", "")
|
||||||
Util.AddOnceClick(cardBtn, function()
|
Util.AddOnceClick(cardBtn, function()
|
||||||
local isSelect = false
|
local isSelect = false
|
||||||
local selectIndex = 0
|
local selectIndex = 0
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue