diff --git a/Assets/ManagedResources/~Lua/Modules/Formation/FormationPanelV2.lua b/Assets/ManagedResources/~Lua/Modules/Formation/FormationPanelV2.lua index 8d12fa2682..4f86e27551 100644 --- a/Assets/ManagedResources/~Lua/Modules/Formation/FormationPanelV2.lua +++ b/Assets/ManagedResources/~Lua/Modules/Formation/FormationPanelV2.lua @@ -1044,7 +1044,8 @@ function this.SetOneKeyGoExpedition() end for k, v in ipairs(theros) do local curSingleherodata = HeroManager.GetSingleHeroData(v.dynamicId) - if not upHeroSidTable[curSingleherodata.id] then + local hp = FormationManager.GetFormationHeroHp(this.curFormationIndex,v.dynamicId) + if not upHeroSidTable[curSingleherodata.id] and hp > 0 then LogGreen("this.choosedList "..#this.choosedList) if #this.choosedList < 6 then for n = 1, #posArr do