许愿神将修改提交

dev_chengFeng
jiaoyangna 2022-01-17 11:23:22 +08:00
parent 4c1b1dbc30
commit a4cbd77a99
1 changed files with 2 additions and 5 deletions

View File

@ -127,16 +127,13 @@ function this.SingleHeroDataShow(go,_heroData,_index)
icon.sprite = this.spLoader:LoadSprite(artResourcesConfig[heroData.Icon].Name)
proIcon.sprite = this.spLoader:LoadSprite(GetProStrImageByProNum(heroData.PropertyName))
SetHeroStars(this.spLoader, starGrid, heroData.Star,1,nil,-15)
frame.sprite = this.spLoader:LoadSprite("t_tongyong_topkaung")
else
name.text = SubString2(GetLanguageStrById(heroData.Name),8)
icon.sprite = this.spLoader:LoadSprite(artResourcesConfig[heroData.ResourceID].Name)
proIcon.gameObject:SetActive(false)
starGrid:SetActive(false)
end
if curPage ~= 5 then
frame.sprite = this.spLoader:LoadSprite(GetHeroQuantityImageByquality(heroData.Quality,heroData.Star))
else
frame.sprite = this.spLoader:LoadSprite("t_tongyong_topkaung")
frame.sprite = this.spLoader:LoadSprite(GetHeroQuantityImageByquality(heroData.Quantity,heroData.Star))
end
this.choosedList[go] = choosed
this.choosedList[go]:SetActive( heroData.Id==currHeroId)