化身升级bug修改
parent
732f92a6fa
commit
81a671e0f1
|
@ -130,10 +130,10 @@ function this.UpdateWin()
|
||||||
this.upStarBtn.gameObject:SetActive(false)
|
this.upStarBtn.gameObject:SetActive(false)
|
||||||
this.skillLayout.gameObject:SetActive(false)
|
this.skillLayout.gameObject:SetActive(false)
|
||||||
local cardLvConfig=ConfigManager.GetConfigDataByDoubleKey(ConfigName.ChangingCardLevel,"Level",curLevel,"PoolId",this.cardConfig.LevelUpPool)
|
local cardLvConfig=ConfigManager.GetConfigDataByDoubleKey(ConfigName.ChangingCardLevel,"Level",curLevel,"PoolId",this.cardConfig.LevelUpPool)
|
||||||
this.SetCostItem(cardLvConfig.Exp)
|
|
||||||
this.curDrop.text=cardLvConfig.ChangingForceExp[2]
|
this.curDrop.text=cardLvConfig.ChangingForceExp[2]
|
||||||
this.SetPropInfo(this.curProp,propData)
|
this.SetPropInfo(this.curProp,propData)
|
||||||
if this.CheckLevelLimit() then
|
if this.CheckLevelLimit() then
|
||||||
|
this.nextLvText.gameObject:SetActive(false)
|
||||||
this.nextProp.gameObject:SetActive(false)
|
this.nextProp.gameObject:SetActive(false)
|
||||||
this.costGrid.gameObject:SetActive(false)
|
this.costGrid.gameObject:SetActive(false)
|
||||||
this.nextDrop.gameObject:SetActive(false)
|
this.nextDrop.gameObject:SetActive(false)
|
||||||
|
@ -143,6 +143,7 @@ function this.UpdateWin()
|
||||||
this.nextDrop.gameObject:SetActive(true)
|
this.nextDrop.gameObject:SetActive(true)
|
||||||
local nextPropData=IncarnationManager.GetChangeCardProperty(curCardId,true,false)
|
local nextPropData=IncarnationManager.GetChangeCardProperty(curCardId,true,false)
|
||||||
this.SetPropInfo(this.nextProp,nextPropData)
|
this.SetPropInfo(this.nextProp,nextPropData)
|
||||||
|
this.SetCostItem(cardLvConfig.Exp)
|
||||||
local nextCardLvConfig=ConfigManager.GetConfigDataByDoubleKey(ConfigName.ChangingCardLevel,"Level",curLevel+1,"PoolId",this.cardConfig.LevelUpPool)
|
local nextCardLvConfig=ConfigManager.GetConfigDataByDoubleKey(ConfigName.ChangingCardLevel,"Level",curLevel+1,"PoolId",this.cardConfig.LevelUpPool)
|
||||||
this.nextDrop.text="+"..nextCardLvConfig.ChangingForceExp[2]
|
this.nextDrop.text="+"..nextCardLvConfig.ChangingForceExp[2]
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue