From 92e56472de4a0c56f52e9ccef68834c532f7e339 Mon Sep 17 00:00:00 2001 From: yuanshuai <243578945@qq.com> Date: Tue, 26 Apr 2022 10:14:52 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=A9=E5=AE=AB=E5=95=86=E5=BA=97=E7=82=B9?= =?UTF-8?q?=E5=87=BB=E6=8A=A5=E9=94=99=20bug=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../~Lua/Modules/Incarnation/IncarnationManager.lua | 2 +- .../~Lua/Modules/Incarnation/IncarnationUpPopup.lua | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Assets/ManagedResources/~Lua/Modules/Incarnation/IncarnationManager.lua b/Assets/ManagedResources/~Lua/Modules/Incarnation/IncarnationManager.lua index bb3dd42959..d8ccf8c25a 100644 --- a/Assets/ManagedResources/~Lua/Modules/Incarnation/IncarnationManager.lua +++ b/Assets/ManagedResources/~Lua/Modules/Incarnation/IncarnationManager.lua @@ -177,7 +177,7 @@ end function this.GetStatusByItemId(id) local config = ConfigManager.TryGetConfigDataByKey(ConfigName.ChangingCard,"CardId",id) if config then - return this.itemDataList[config.ID].state + return this.itemDataList[config.Id].state end return -1 end diff --git a/Assets/ManagedResources/~Lua/Modules/Incarnation/IncarnationUpPopup.lua b/Assets/ManagedResources/~Lua/Modules/Incarnation/IncarnationUpPopup.lua index 23a3ab6fa7..07e2ee98bc 100644 --- a/Assets/ManagedResources/~Lua/Modules/Incarnation/IncarnationUpPopup.lua +++ b/Assets/ManagedResources/~Lua/Modules/Incarnation/IncarnationUpPopup.lua @@ -112,7 +112,6 @@ function this.UpdateWin() cardData=IncarnationManager.itemDataList[curCardId] curStar=cardData.star curLevel=cardData.level - LogBlue("等级:"..curLevel.." 星级:"..curStar) this.titleText.text=cardData.name local propData=IncarnationManager.GetChangeCardProperty(curCardId) if type==1 then