diff --git a/Assets/ManagedResources/~Lua/Modules/Formation/FormationManager.lua b/Assets/ManagedResources/~Lua/Modules/Formation/FormationManager.lua index 66a9439b2c..591f69594a 100644 --- a/Assets/ManagedResources/~Lua/Modules/Formation/FormationManager.lua +++ b/Assets/ManagedResources/~Lua/Modules/Formation/FormationManager.lua @@ -81,12 +81,21 @@ function this.UpdateFormation(msg) for j = 1, #team.teamHeroInfos do local teamHeroInfo = team.teamHeroInfos[j] + -- TODO: 四灵试炼编队特殊处理 + if team.teamId == FormationTypeDef.FourElement_PEOPLE + or team.teamId == FormationTypeDef.FourElement_MAGIC + or team.teamId == FormationTypeDef.FourElement_BUDDHIST + or team.teamId == FormationTypeDef.FourElement_TAOIST then if HeroManager.GetSingleHeroData(teamHeroInfo.heroId) then table.insert(oTeam.teamHeroInfos, teamHeroInfo) HeroManager.SetHeroFormationList(teamHeroInfo.heroId,team.teamId,1) else isRefresh = true end + else + table.insert(oTeam.teamHeroInfos, teamHeroInfo) + HeroManager.SetHeroFormationList(teamHeroInfo.heroId,team.teamId,1) + end end oTeam.teamPokemonInfos = {} this.formationList[team.teamId] = oTeam