diff --git a/Assets/ManagedResources/~Lua/Modules/Formation/View/FourElementFormation.lua b/Assets/ManagedResources/~Lua/Modules/Formation/View/FourElementFormation.lua index f26e4080d1..6f1fe653a3 100644 --- a/Assets/ManagedResources/~Lua/Modules/Formation/View/FourElementFormation.lua +++ b/Assets/ManagedResources/~Lua/Modules/Formation/View/FourElementFormation.lua @@ -110,7 +110,7 @@ function this.On_Btn2_Click() PopupTipPanel.ShowTip("挑战编队为空") return end - FormationManager.RefreshFormation( + FormationManager.SaveFormation( this.root.curFormationIndex, newteam, FormationManager.formationList[this.root.curFormationIndex].teamPokemonInfos diff --git a/Assets/ManagedResources/~Lua/Modules/MonsterCamp/MonsterCampManager.lua b/Assets/ManagedResources/~Lua/Modules/MonsterCamp/MonsterCampManager.lua index 7b06b05cea..1cf67f5fe3 100644 --- a/Assets/ManagedResources/~Lua/Modules/MonsterCamp/MonsterCampManager.lua +++ b/Assets/ManagedResources/~Lua/Modules/MonsterCamp/MonsterCampManager.lua @@ -287,7 +287,7 @@ function this.SaveFormation(curType) table.insert(choosedList, {heroId = teamInfo.heroId,position=teamInfo.position}) end end - FormationManager.RefreshFormation( + FormationManager.SaveFormation( (3000 + curType), choosedList, FormationManager.formationList[(3000 + curType)].teamPokemonInfos @@ -493,7 +493,7 @@ function this.SetFriendHelpHero(helpFightList,trailType) end end if LengthOfTable(newteam) ~= LengthOfTable(team.teamHeroInfos) then - FormationManager.RefreshFormation( + FormationManager.SaveFormation( i + 3000, newteam, FormationManager.formationList[i + 3000].teamPokemonInfos) @@ -531,7 +531,7 @@ function this.SetFriendHelpHero(helpFightList,trailType) end end if LengthOfTable(newteam) ~= LengthOfTable(team.teamHeroInfos) then - FormationManager.RefreshFormation( + FormationManager.SaveFormation( trailType + 3000, newteam, FormationManager.formationList[trailType + 3000].teamPokemonInfos) @@ -547,7 +547,7 @@ function this.SetFriendHelpHero(helpFightList,trailType) end end if LengthOfTable(newteam) ~= LengthOfTable(team.teamHeroInfos) then - FormationManager.RefreshFormation( + FormationManager.SaveFormation( this.root.curFormationIndex, this.root.choosedList, FormationManager.formationList[this.root.curFormationIndex].teamPokemonInfos) diff --git a/Assets/ManagedResources/~Lua/View/FourTrailSingleHelpHero.lua b/Assets/ManagedResources/~Lua/View/FourTrailSingleHelpHero.lua index 0bc0fdabc2..8ad8fc111b 100644 --- a/Assets/ManagedResources/~Lua/View/FourTrailSingleHelpHero.lua +++ b/Assets/ManagedResources/~Lua/View/FourTrailSingleHelpHero.lua @@ -114,7 +114,7 @@ function FourTrailSingleHelpHero:SetIcon1(heroData,player) table.insert(choosedList, {heroId = teamInfo.heroId,position=teamInfo.position}) end end - FormationManager.RefreshFormation( + FormationManager.SaveFormation( (1700 + self.curType), choosedList, FormationManager.formationList[(1700 + self.curType)].teamPokemonInfos