化身升级bug修改

dev_chengFeng
yuanshuai 2022-04-26 18:28:37 +08:00
parent 732f92a6fa
commit 81a671e0f1
1 changed files with 2 additions and 1 deletions

View File

@ -130,10 +130,10 @@ function this.UpdateWin()
this.upStarBtn.gameObject:SetActive(false)
this.skillLayout.gameObject:SetActive(false)
local cardLvConfig=ConfigManager.GetConfigDataByDoubleKey(ConfigName.ChangingCardLevel,"Level",curLevel,"PoolId",this.cardConfig.LevelUpPool)
this.SetCostItem(cardLvConfig.Exp)
this.curDrop.text=cardLvConfig.ChangingForceExp[2]
this.SetPropInfo(this.curProp,propData)
if this.CheckLevelLimit() then
this.nextLvText.gameObject:SetActive(false)
this.nextProp.gameObject:SetActive(false)
this.costGrid.gameObject:SetActive(false)
this.nextDrop.gameObject:SetActive(false)
@ -143,6 +143,7 @@ function this.UpdateWin()
this.nextDrop.gameObject:SetActive(true)
local nextPropData=IncarnationManager.GetChangeCardProperty(curCardId,true,false)
this.SetPropInfo(this.nextProp,nextPropData)
this.SetCostItem(cardLvConfig.Exp)
local nextCardLvConfig=ConfigManager.GetConfigDataByDoubleKey(ConfigName.ChangingCardLevel,"Level",curLevel+1,"PoolId",this.cardConfig.LevelUpPool)
this.nextDrop.text="+"..nextCardLvConfig.ChangingForceExp[2]
end