化身卡升星bug修改
parent
0c3dec451f
commit
f65ddb2eda
|
|
@ -75,7 +75,11 @@ function this:BindEvent()
|
|||
PopupTipPanel.ShowTip("星级已满")
|
||||
return
|
||||
end
|
||||
if #curSelectMat<this.cardConfig.StarUpCost[curStar+1][2] then
|
||||
local selectNum=0
|
||||
for i = 1, #curSelectMat do
|
||||
selectNum=selectNum+curSelectMat[i].num
|
||||
end
|
||||
if selectNum<this.cardConfig.StarUpCost[curStar+1][2] then
|
||||
PopupTipPanel.ShowTip("材料不足")
|
||||
return
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in New Issue