化身之力bug修改
parent
72127689d0
commit
a53c0446b8
|
@ -86,10 +86,10 @@ function IncarnationForcePanel:OnShow()
|
|||
--设置等级
|
||||
self.level.text = string.format("化身等级:%s级",this.configData.Level)
|
||||
self.power.text = FormationManager.GetFormationPower(FormationTypeDef.FORMATION_NORMAL)
|
||||
local curHaveItemNum=BagManager.GetItemCountById(this.configData.ExpCost[1])
|
||||
local curCostItemNum=this.configData.ExpCost[2]
|
||||
this.btnRed.gameObject:SetActive(false)
|
||||
if this.configData.Level<50 then
|
||||
local curHaveItemNum=BagManager.GetItemCountById(this.configData.ExpCost[1])
|
||||
local curCostItemNum=this.configData.ExpCost[2]
|
||||
self.value.text = string.format("%s/%s",curHaveItemNum,curCostItemNum)
|
||||
if curHaveItemNum>curCostItemNum then
|
||||
self.fill:GetComponent("RectTransform").sizeDelta = Vector3.New(445,26,0)
|
||||
|
|
Loading…
Reference in New Issue