【大闹天宫】一键上阵报错(原因 鸿蒙阵共鸣神将没有赋值大闹天宫血量)

dev_chengFeng
zhangqiang 2021-06-26 18:56:58 +08:00
parent fbf43c9a3c
commit 0412d20463
1 changed files with 7 additions and 1 deletions

View File

@ -86,13 +86,19 @@ end
function this.UpdateHongMengDataHeroInfos(hongmengHeroInfos)
this.hongmengHeroInfos = hongmengHeroInfos
--LogGreen("hongmengHeroInfos "..#this.hongmengHeroInfos)
-- LogGreen("hongmengHeroInfos "..#this.hongmengHeroInfos)
for i = 1, #this.hongmengHeroInfos do
if this.hongmengHeroInfos[i].time ~= 0 then
-- body
this.hongmengHeroInfos[i].time = this.hongmengHeroInfos[i].time + GetTimeStamp()
end
-- print(HeroManager.)
--鸿蒙阵共鸣后直接大于20级 后没有赋值大闹天宫英雄血量 大闹天宫一键上阵报错
-- LogYellow("this.hongmengHeroInfos[i].heroId "..this.hongmengHeroInfos[i].heroId)
if not ExpeditionManager.heroInfo[this.hongmengHeroInfos[i].heroId] then
-- LogRed("this.hongmengHeroInfos[i].heroId "..this.hongmengHeroInfos[i].heroId)
ExpeditionManager.InitHeroHpValue(this.hongmengHeroInfos[i].heroId)
end
end
if this.hongmengAdditions[1] then