From 8c76d476a2a2ebd049683c40ce67064a29505e08 Mon Sep 17 00:00:00 2001 From: gaoxin Date: Fri, 24 Sep 2021 17:49:32 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E7=BC=96=E9=98=9F=E3=80=91=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D=E4=BF=9D=E5=AD=98=E7=BC=96=E9=98=9F=E6=8E=A5=E5=8F=A3?= =?UTF-8?q?=E5=90=8D=E4=BF=AE=E6=94=B9=E5=AF=BC=E8=87=B4=E7=9A=84=E6=8A=A5?= =?UTF-8?q?=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../~Lua/Modules/Formation/View/FourElementFormation.lua | 2 +- .../~Lua/Modules/MonsterCamp/MonsterCampManager.lua | 8 ++++---- .../~Lua/View/FourTrailSingleHelpHero.lua | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) 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