ZhangBiao 2020-10-12 15:39:23 +08:00
parent 01d537118b
commit f087c0258b
1 changed files with 2 additions and 0 deletions

View File

@ -597,7 +597,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