(cherry picked from commit f087c0258b)

dev_chengFeng
ZhangBiao 2020-10-12 15:39:23 +08:00
parent ff33dd07db
commit aec2eb929c
1 changed files with 2 additions and 0 deletions

View File

@ -596,7 +596,9 @@ function this.SetSelectHero(isFirstIn,isFirstData,isMainIn)
curHeroHp=10000
end
MapTrialManager.SetHeroHp({curHeroHp},MapTrialManager.selectHeroDid,function()
MapManager.addHpCount=MapManager.addHpCount+1
PopupTipPanel.ShowTip(string.format(Language[11265],itemConfig[itemId].Name))
Game.GlobalEvent:DispatchEvent(GameEvent.Map.RefreshHeroHp,false,nil,false)--打完刷新血量
end)
end)
end