From 59b4801c07d844dc0870454be39bc8b977af3dc1 Mon Sep 17 00:00:00 2001 From: wangzhenxing Date: Fri, 13 Jan 2023 13:44:12 +0800 Subject: [PATCH] =?UTF-8?q?=E7=8E=89=E8=99=9A=E8=AE=BA=E9=81=93=E6=98=9F?= =?UTF-8?q?=E7=BA=A7=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../~Lua/Modules/WorldArena/WorldArenaBattleInfoPanel.lua | 2 +- .../~Lua/Modules/WorldArena/WorldArenaMyTeamPanel.lua | 2 +- .../~Lua/Modules/WorldArena/WorldArenaOtherTeamPanel.lua | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Assets/ManagedResources/~Lua/Modules/WorldArena/WorldArenaBattleInfoPanel.lua b/Assets/ManagedResources/~Lua/Modules/WorldArena/WorldArenaBattleInfoPanel.lua index 03156c8425..c2f6ef217b 100644 --- a/Assets/ManagedResources/~Lua/Modules/WorldArena/WorldArenaBattleInfoPanel.lua +++ b/Assets/ManagedResources/~Lua/Modules/WorldArena/WorldArenaBattleInfoPanel.lua @@ -585,7 +585,7 @@ function this.SetTeamInfo(_go,teamData,type) table.insert(allMyHeros,hero.heroid) end end - SetHeroStars(this.spLoader, teamList[hero.position].starGrid, star,starType,starSize,starScale) + SetHeroStars(this.spLoader, teamList[hero.position].starGrid, star,nil,nil,-10) Util.SetParticleSortLayer(teamList[hero.position].starGrid,this.sortingOrder + 1) local heroConfig = ConfigManager.GetConfigData(ConfigName.HeroConfig, heroTid) teamList[hero.position].proIcon.sprite = this.spLoader:LoadSprite(GetProStrImageByProNum(hero.propertyId)) diff --git a/Assets/ManagedResources/~Lua/Modules/WorldArena/WorldArenaMyTeamPanel.lua b/Assets/ManagedResources/~Lua/Modules/WorldArena/WorldArenaMyTeamPanel.lua index 5fdac8a92f..60cbc474f5 100644 --- a/Assets/ManagedResources/~Lua/Modules/WorldArena/WorldArenaMyTeamPanel.lua +++ b/Assets/ManagedResources/~Lua/Modules/WorldArena/WorldArenaMyTeamPanel.lua @@ -177,7 +177,7 @@ function WorldArenaMyTeamPanel:SetSingleFormation(go,data,index) elseif starType == 2 then starSize = Vector2.New(48,48) end - SetHeroStars(self.spLoader, self.Heros[index][hero.position].starGrid, star,starType,starSize,starScale) + SetHeroStars(self.spLoader, self.Heros[index][hero.position].starGrid, star,nil,nil,-10) Util.SetParticleSortLayer(self.Heros[index][hero.position].starGrid,self.sortingOrder + 1) SetHeroFlyEffect(self.Heros[index][hero.position].hero,self.spLoader,star,self.sortingOrder+1,0.9,2) local heroConfig = ConfigManager.GetConfigData(ConfigName.HeroConfig, heroData.id) diff --git a/Assets/ManagedResources/~Lua/Modules/WorldArena/WorldArenaOtherTeamPanel.lua b/Assets/ManagedResources/~Lua/Modules/WorldArena/WorldArenaOtherTeamPanel.lua index 6bb0c60c93..e6f4544052 100644 --- a/Assets/ManagedResources/~Lua/Modules/WorldArena/WorldArenaOtherTeamPanel.lua +++ b/Assets/ManagedResources/~Lua/Modules/WorldArena/WorldArenaOtherTeamPanel.lua @@ -230,7 +230,7 @@ function WorldArenaOtherTeamPanel:SetTeamInfo(_go,teamData) elseif starType == 2 then starSize = Vector2.New(48,48) end - SetHeroStars(self.spLoader, self.teamList[index].heroList[hero.position].starGrid, star,starType,starSize,starScale) + SetHeroStars(self.spLoader, self.teamList[index].heroList[hero.position].starGrid, star,nil,nil,-10) Util.SetParticleSortLayer(self.teamList[index].heroList[hero.position].starGrid,self.sortingOrder + 1) local heroConfig = ConfigManager.GetConfigData(ConfigName.HeroConfig, heroTid) self.teamList[index].heroList[hero.position].proIcon.sprite = self.spLoader:LoadSprite(GetProStrImageByProNum(hero.propertyId))