【bug】=====森罗幻境修改

dev_chengFeng
wangzhenxing 2022-04-01 16:01:36 +08:00
parent f44f70085b
commit e9219317e2
3 changed files with 6 additions and 2 deletions

View File

@ -299,6 +299,10 @@ function this.SingleHeroDataShow(_go, _heroData)
this.SetHeroBlood(hpExp, heroHp, go)
-- Click On
Util.AddOnceClick(go, function()
if heroData.changeProId==5 then
PopupTipPanel.ShowTip("神系必须转换其他阵营才能上阵")
return
end
for k, v in ipairs(choosedList) do
if v.did == heroData.dynamicId then
--选择的条目已存在移除选择的item

View File

@ -190,7 +190,7 @@ function this.SetSelectHero()
-- icon.sprite= this.spLoader:LoadSprite(GetResourcePath(heroSkinData.Icon))
-- end
SetHeroIcon(this.spLoader, value,icon,heroConfig[value.tmpId])
pro.sprite=this.spLoader:LoadSprite(GetProStrImageByProNum(heroConfig[value.tmpId].PropertyName))
pro.sprite=this.spLoader:LoadSprite(GetProStrImageByProNum(value.propertyId))
lv.text=value.level
local star,starType = GetStarOrGodSoulLv(1,value)
SetHeroStars(this.spLoader, starGrid, star,starType)

View File

@ -511,7 +511,7 @@ function this.SetSelectHero(isFirstIn,isFirstData,isMainIn)
local hpExp=Util.GetGameObject(o,"hpExp"):GetComponent("Slider")
frame.sprite=this.spLoader:LoadSprite(GetHeroQuantityImageByquality(heroConfig[v.tmpId].Quality, v.star))
SetHeroIcon(this.spLoader, v,icon,heroConfig[v.tmpId])
pro.sprite=this.spLoader:LoadSprite(GetProStrImageByProNum(heroConfig[v.tmpId].PropertyName))
pro.sprite=this.spLoader:LoadSprite(GetProStrImageByProNum(v.propertyId))
lv.text=v.level
local star,starType = GetStarOrGodSoulLv(1,v)
if not this.starGridList then