parent
01d537118b
commit
f087c0258b
|
|
@ -597,7 +597,9 @@ function this.SetSelectHero(isFirstIn,isFirstData,isMainIn)
|
||||||
curHeroHp=10000
|
curHeroHp=10000
|
||||||
end
|
end
|
||||||
MapTrialManager.SetHeroHp({curHeroHp},MapTrialManager.selectHeroDid,function()
|
MapTrialManager.SetHeroHp({curHeroHp},MapTrialManager.selectHeroDid,function()
|
||||||
|
MapManager.addHpCount=MapManager.addHpCount+1
|
||||||
PopupTipPanel.ShowTip(string.format(Language[11265],itemConfig[itemId].Name))
|
PopupTipPanel.ShowTip(string.format(Language[11265],itemConfig[itemId].Name))
|
||||||
|
Game.GlobalEvent:DispatchEvent(GameEvent.Map.RefreshHeroHp,false,nil,false)--打完刷新血量
|
||||||
end)
|
end)
|
||||||
end)
|
end)
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue