化身bug修改

dev_chengFeng
yuanshuai 2022-04-26 13:33:41 +08:00
parent b1cf666e41
commit 0c3dec451f
2 changed files with 2 additions and 2 deletions

View File

@ -44,7 +44,7 @@ function IncarnationForcePanel:BindEvent()
local curHaveItemNum=BagManager.GetItemCountById(this.configData.ExpCost[1])
local curCostItemNum=this.configData.ExpCost[2]
if curHaveItemNum <curCostItemNum then
PopupTipPanel.ShowTip("材料不足")
PopupTipPanel.ShowTip("化身之力不足,无法升级")
return
end
NetManager.SendTransformationForceUpRequest(IncarnationManager.incarnationForceLv,function ()

View File

@ -114,7 +114,7 @@ function this.OnShowSingleCardData(go,heroData)--isSelect 1选择 2 没选择
icon.sprite = this.spLoader:LoadSprite(heroData.icon)
num.text = heroData.num
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()
local isSelect = false
local selectIndex = 0