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