玉虚论道星级修改
parent
15607b8b70
commit
59b4801c07
|
@ -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))
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue