【森罗幻境】我方角色全部死亡,点击回春散使用按钮报错

dev_chengFeng
gaoxin 2021-01-14 17:07:18 +08:00
parent ceb9e39b00
commit 3cbc165cf5
1 changed files with 4 additions and 0 deletions

View File

@ -66,6 +66,10 @@ function this:BindEvent()
PopupTipPanel.ShowTip(Language[11653])
return
end
if not selectHeroDid then
PopupTipPanel.ShowTip("未选择目标神将")
return
end
NetManager.UseAddHpItemRequest(selectHeroDid,function()
PopupTipPanel.ShowTip(string.format(Language[11654],itemConfig[itemId].Name))
MapManager.addHpCount=MapManager.addHpCount+1