From 2e272debe330e7a348867d8021a84138fe3b355d Mon Sep 17 00:00:00 2001 From: jiaoyangna <3046463818@qq.com> Date: Thu, 15 Oct 2020 11:23:38 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=80=E9=94=AE=E5=AE=9D=E7=89=A9=E9=87=8D?= =?UTF-8?q?=E5=A4=8D=E7=A9=BF=E6=88=B4=E5=AE=9D=E7=89=A9bug=20=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../~Lua/Modules/RoleInfo/EquipTreasureManager.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/ManagedResources/~Lua/Modules/RoleInfo/EquipTreasureManager.lua b/Assets/ManagedResources/~Lua/Modules/RoleInfo/EquipTreasureManager.lua index 1dd302adac..1633ee2ea0 100644 --- a/Assets/ManagedResources/~Lua/Modules/RoleInfo/EquipTreasureManager.lua +++ b/Assets/ManagedResources/~Lua/Modules/RoleInfo/EquipTreasureManager.lua @@ -56,7 +56,7 @@ function this.GetTreasureDataByPos(_pos, _idDyn, PropertyName) local equips = {} for i, v in pairs(allTreasures) do if v.equipType == _pos - 4 then - if (v.upHeroDid == "" or v.upHeroDid ~= _idDyn) and v.race == PropertyName then + if (v.upHeroDid == "") and v.race == PropertyName then table.insert(equips, v) end end