From 59ec0d6f2052549ec5254c5713cad319017e3baf Mon Sep 17 00:00:00 2001 From: gaoxin Date: Mon, 6 Sep 2021 16:35:46 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E8=A7=89=E9=86=92=E3=80=91=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D=E4=BC=9A=E8=87=AA=E5=8A=A8=E9=80=89=E6=8B=A9=E9=B8=BF?= =?UTF-8?q?=E8=92=99=E9=98=B5=E5=85=B1=E9=B8=A3=E7=A5=9E=E5=B0=86=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../~Lua/Modules/RoleInfo/RoleAwakeLayout.lua | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Assets/ManagedResources/~Lua/Modules/RoleInfo/RoleAwakeLayout.lua b/Assets/ManagedResources/~Lua/Modules/RoleInfo/RoleAwakeLayout.lua index fe2e46c508..6ab6e02ba7 100644 --- a/Assets/ManagedResources/~Lua/Modules/RoleInfo/RoleAwakeLayout.lua +++ b/Assets/ManagedResources/~Lua/Modules/RoleInfo/RoleAwakeLayout.lua @@ -254,7 +254,13 @@ function RoleAwakeLayout:AutoSelectUpStarHeroList(_curUpStarData) and curHeroData.heroConfig.Qualiy ~= 3) then if LengthOfTable(upStarHeroListData.heroList) >= curUpStarData[i].upStarData[4] then for i = 1, curUpStarData[i].upStarData[4] do - if upStarHeroListData.heroList[i].type == RoleUpStarMatType.item or upStarHeroListData.heroList[i].type == RoleUpStarMatType.hero and upStarHeroListData.heroList[i].lockState == 0 and upStarHeroListData.heroList[i].isFormation == "" then + if upStarHeroListData.heroList[i].type == RoleUpStarMatType.item + or upStarHeroListData.heroList[i].type == RoleUpStarMatType.hero + and upStarHeroListData.heroList[i].lockState == 0 + and upStarHeroListData.heroList[i].isFormation == "" + and not HarmonyManager.IsChangeColor(upStarHeroListData.heroList[i].dynamicId) + and not HarmonyManager:IsEnvoy(upStarHeroListData.heroList[i].dynamicId) + then table.insert(curSelectHeroList,upStarHeroListData.heroList[i]) end end