公会查看成员编队神将属性错误修改
parent
52475ee00b
commit
1b95b2a04a
|
@ -347,7 +347,7 @@ function this.FormationAdapter(teamInfo)
|
|||
SetHeroStars(this.spLoader, this.Demons[hero.position].starGrid, star,starType)
|
||||
Util.SetParticleSortLayer(this.Demons[hero.position].starGrid,this.sortingOrder + 1)
|
||||
local heroConfig = ConfigManager.GetConfigData(ConfigName.HeroConfig, demonId)
|
||||
this.Demons[hero.position].proIconsprite = this.spLoader:LoadSprite(GetProStrImageByProNum(heroConfig.PropertyName))
|
||||
this.Demons[hero.position].proIcon.sprite = this.spLoader:LoadSprite(GetProStrImageByProNum(heroConfig.PropertyName))
|
||||
this.Demons[hero.position].levelText.text = hero.level
|
||||
this.Demons[hero.position].frame.sprite = this.spLoader:LoadSprite(GetQuantityImageByquality(heroConfig.Quality, hero.star))
|
||||
-- if hero.skinId == 0 then
|
||||
|
|
|
@ -179,7 +179,7 @@ function WorldArenaMyTeamPanel:SetSingleFormation(go,data,index)
|
|||
Util.SetParticleSortLayer(self.Heros[index][hero.position].starGrid,self.sortingOrder + 1)
|
||||
local heroConfig = ConfigManager.GetConfigData(ConfigName.HeroConfig, heroData.id)
|
||||
allPower=allPower+heroData.warPower
|
||||
self.Heros[index][hero.position].proIconsprite = self.spLoader:LoadSprite(GetProStrImageByProNum(heroConfig.PropertyName))
|
||||
self.Heros[index][hero.position].proIcon.sprite = self.spLoader:LoadSprite(GetProStrImageByProNum(heroConfig.PropertyName))
|
||||
self.Heros[index][hero.position].levelText.text = heroData.lv
|
||||
self.Heros[index][hero.position].frame.sprite = self.spLoader:LoadSprite(GetQuantityImageByquality(heroConfig.Quality,heroData.star))
|
||||
SetHeroIcon(self.spLoader, hero,self.Heros[index][hero.position].icon,heroConfig)
|
||||
|
|
Loading…
Reference in New Issue