From 3d19df7cb2f8167ffd49f3cad6343678c6acd6ac Mon Sep 17 00:00:00 2001 From: gaoxin Date: Mon, 13 Dec 2021 18:43:27 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E5=85=B3=E5=8D=A1=E6=96=B0=E6=9D=A1?= =?UTF-8?q?=E4=BB=B6=E3=80=91=E5=8D=B8=E4=B8=8B=E5=86=8D=E7=A9=BF=E6=88=B4?= =?UTF-8?q?=E8=A3=85=E5=A4=87=E5=90=8E=E5=85=B3=E5=8D=A1=E7=95=8C=E9=9D=A2?= =?UTF-8?q?=E5=8D=A1=E6=AD=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Assets/ManagedResources/~Lua/Modules/Equip/EquipManager.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/ManagedResources/~Lua/Modules/Equip/EquipManager.lua b/Assets/ManagedResources/~Lua/Modules/Equip/EquipManager.lua index b5d985e666..fecc1c79d1 100644 --- a/Assets/ManagedResources/~Lua/Modules/Equip/EquipManager.lua +++ b/Assets/ManagedResources/~Lua/Modules/Equip/EquipManager.lua @@ -86,7 +86,7 @@ function this.GetLimitStarEquipNum(star) for _, hero in pairs(allHeroDatas) do if hero.equipIdList and #hero.equipIdList > 0 then for i = 1, #hero.equipIdList do - local id = hero.equipIdList[i] + local id = tonumber(hero.equipIdList[i]) if equipConfig[id].Star >= star then allNum = allNum + 1 end