Merge branch 'master_develop' of http://60.1.1.230/gaoxin/JL_Client into master_develop

dev_chengFeng
altair 2020-07-28 15:48:31 +08:00
commit f56f469940
2 changed files with 3 additions and 1 deletions

View File

@ -573,6 +573,7 @@ function this.UpdateHeroDatas(_msgHeroData)
this.SetEquipTreasureUpHeroDid(heroData.jewels,heroData.dynamicId) this.SetEquipTreasureUpHeroDid(heroData.jewels,heroData.dynamicId)
this.SetTalismanLv(heroData.dynamicId,heroData.talismanList) this.SetTalismanLv(heroData.dynamicId,heroData.talismanList)
ExpeditionManager.InitHeroHpValue(heroData.dynamicId) ExpeditionManager.InitHeroHpValue(heroData.dynamicId)
heroData.warPower = HeroManager.CalculateHeroAllProValList(1, heroData, false)[HeroProType.WarPower]
--this.SetSoulPrintUpHeroDid(heroData.soulPrintList,heroData.dynamicId) --this.SetSoulPrintUpHeroDid(heroData.soulPrintList,heroData.dynamicId)
--this.GetSingleProScoreVal() --this.GetSingleProScoreVal()
end end

View File

@ -67,7 +67,7 @@ function this.InitHeroData(_msgHeroList)
end end
this.UpdateHeroLvEnd() this.UpdateHeroLvEnd()
--赋值每个星级的英雄等级上限 --赋值每个星级的英雄等级上限
this.UpdateHeroPower() -- this.UpdateHeroPower()
--赋值英雄战力 --赋值英雄战力
end end
@ -155,6 +155,7 @@ function this.UpdateHeroDatas(_msgHeroData, isFindHandBook)
if isFindHandBook then --图鉴 if isFindHandBook then --图鉴
PlayerManager.SetHeroHandBookListData(heroData.id, heroData.star) PlayerManager.SetHeroHandBookListData(heroData.id, heroData.star)
end end
heroData.warPower = this.CalculateHeroAllProValList(1, heroData.dynamicId, false)[HeroProType.WarPower]
--远征初始化血量 --远征初始化血量
--ExpeditionManager.InitHeroHpValue(heroData) --ExpeditionManager.InitHeroHpValue(heroData)
end end