From 4af5d91b6884fcb8f3cf30167310ffbab82b02f3 Mon Sep 17 00:00:00 2001 From: yuanshuai <243578945@qq.com> Date: Tue, 25 Apr 2023 18:13:49 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=9D=E7=89=A9=E5=90=88=E6=88=90bug?= =?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/Compound/view/CompoundPanel_Treasure.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/ManagedResources/~Lua/Modules/Compound/view/CompoundPanel_Treasure.lua b/Assets/ManagedResources/~Lua/Modules/Compound/view/CompoundPanel_Treasure.lua index 93eb21cad9..b9fbfc3d29 100644 --- a/Assets/ManagedResources/~Lua/Modules/Compound/view/CompoundPanel_Treasure.lua +++ b/Assets/ManagedResources/~Lua/Modules/Compound/view/CompoundPanel_Treasure.lua @@ -269,7 +269,7 @@ function this.AutoCompound(_position) --循环宝物的表消耗数据,得出对应的消耗数据 for j = 1, #equipData.costCoin do --可以合成的宝物数量 - local config = ConfigManager.TryGetConfigDataByThreeKey(ConfigName.JewelConfig,"Location",equipData.equipType,"Level",equipData.quantity-1,"Race",_position) + local config = ConfigManager.TryGetConfigDataByThreeKey(ConfigName.JewelConfig,"Location",equipData.equipType,"Level",equipData.quantity,"Race",_position) local curItmeCompoundNums = math.floor(bagNums[config.RankupResources[j][1]] / config.RankupResources[j][2]) if materialEndNum == -1 then materialEndNum = curItmeCompoundNums