特训中的英雄显示修改
parent
40969c7944
commit
dddcea85b4
|
@ -288,7 +288,7 @@ function this.AddPotentialDataByType(dyn,type,lv)
|
||||||
if heroDatas[dyn] then
|
if heroDatas[dyn] then
|
||||||
heroDatas[dyn].potential[type]={}
|
heroDatas[dyn].potential[type]={}
|
||||||
heroDatas[dyn].potential[type].lv=lv
|
heroDatas[dyn].potential[type].lv=lv
|
||||||
heroDatas[dyn].potential[type].giftLv=0
|
heroDatas[dyn].potential[type].giftLv=GiftManager.GetHeroPotencyLvById(dyn)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -660,6 +660,10 @@ function this.GetAllHeroDataMsinusUpWar(_sortTypeId,type) --0全部 1-6属性 7
|
||||||
if HarmonyManager:IsEnvoy(v.dynamicId) then
|
if HarmonyManager:IsEnvoy(v.dynamicId) then
|
||||||
heros[i].isHarmonyGongMing = 2
|
heros[i].isHarmonyGongMing = 2
|
||||||
end
|
end
|
||||||
|
heros[i].isTrain=0
|
||||||
|
if TrainBuildManager.CheckHeroIsTraining(v.dynamicId) then
|
||||||
|
heros[i].isTrain=1
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
--所有的所在队伍id,
|
--所有的所在队伍id,
|
||||||
|
@ -792,6 +796,7 @@ function this.DeleteHeroDatas(heroDIds)
|
||||||
--装备的法灵
|
--装备的法灵
|
||||||
FaLingManager.SetEquipBelongHero(heroDatas[heroDIds[i]].baublesId,nil)
|
FaLingManager.SetEquipBelongHero(heroDatas[heroDIds[i]].baublesId,nil)
|
||||||
HeroManager.SetHeroBaublesId(heroDIds[i],"")
|
HeroManager.SetHeroBaublesId(heroDIds[i],"")
|
||||||
|
TrainBuildManager.RemoveTrainHero(heroDIds[i])
|
||||||
--删除英雄
|
--删除英雄
|
||||||
heroDatas[heroDIds[i]] = nil
|
heroDatas[heroDIds[i]] = nil
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue