From a1ec6c0018d6d334d55f3fad4eab65e7666e1abf Mon Sep 17 00:00:00 2001
From: client_Hale <339726288@qq.com>
Date: 星期五, 28 十二月 2018 10:26:23 +0800
Subject: [PATCH] 5398 【前端】【1.4】跨服竞技场开发 玩家出现包血量同步
---
Fight/GameActor/GA_Player.cs | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/Fight/GameActor/GA_Player.cs b/Fight/GameActor/GA_Player.cs
index 473a5c0..8c72518 100644
--- a/Fight/GameActor/GA_Player.cs
+++ b/Fight/GameActor/GA_Player.cs
@@ -153,6 +153,11 @@
ActorInfo.Hp = m_H0434.HP;
ActorInfo.MaxHp = m_H0434.MaxHP;
+ if (s_OnRefreshLife != null)
+ {
+ s_OnRefreshLife(ServerInstID, ActorInfo.RealHp, ActorInfo.RealMaxHp);
+ }
+
RequestName();
m_CmdManager = new CmdManager();
--
Gitblit v1.8.0