From 81a671e0f18c020914ea9b11be27a7854dd3d9f3 Mon Sep 17 00:00:00 2001 From: yuanshuai <243578945@qq.com> Date: Tue, 26 Apr 2022 18:28:37 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8C=96=E8=BA=AB=E5=8D=87=E7=BA=A7bug?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../~Lua/Modules/Incarnation/IncarnationUpPopup.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Assets/ManagedResources/~Lua/Modules/Incarnation/IncarnationUpPopup.lua b/Assets/ManagedResources/~Lua/Modules/Incarnation/IncarnationUpPopup.lua index b4f3602881..1505ed4d87 100644 --- a/Assets/ManagedResources/~Lua/Modules/Incarnation/IncarnationUpPopup.lua +++ b/Assets/ManagedResources/~Lua/Modules/Incarnation/IncarnationUpPopup.lua @@ -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