From 946841a8fb7e57a258b463bb0d39a18879195df7 Mon Sep 17 00:00:00 2001 From: zhangqiang <657634622@qq.com> Date: Mon, 28 Jun 2021 11:27:50 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E5=A4=A7=E9=97=B9=E5=A4=A9=E5=AE=AB?= =?UTF-8?q?=E3=80=91=E4=B8=80=E9=94=AE=E4=B8=8A=E9=98=B5=E6=8A=A5=E9=94=99?= =?UTF-8?q?2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../~Lua/Modules/Harmony/Manager/HarmonyManager.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Assets/ManagedResources/~Lua/Modules/Harmony/Manager/HarmonyManager.lua b/Assets/ManagedResources/~Lua/Modules/Harmony/Manager/HarmonyManager.lua index 2f9924de06..c2bd3642cd 100644 --- a/Assets/ManagedResources/~Lua/Modules/Harmony/Manager/HarmonyManager.lua +++ b/Assets/ManagedResources/~Lua/Modules/Harmony/Manager/HarmonyManager.lua @@ -356,7 +356,11 @@ end function this:SetGongMingList(Id) local data = HeroManager.GetSingleHeroData(Id) table.insert(this.hongmengGongMingList,data) - + -- LogYellow("Id "..Id) + if not ExpeditionManager.heroInfo[Id] then + -- LogRed("Id "..Id) + ExpeditionManager.InitHeroHpValue(Id) + end end function this:RemoveGongMingList(Id)