From 10b8d100b0ed4f143fde19d9b68550a95fd9fe8d Mon Sep 17 00:00:00 2001
From: client_Hale <339726288@qq.com>
Date: 星期六, 22 六月 2019 20:12:15 +0800
Subject: [PATCH] 382 增加矫正血量逻辑

---
 Fight/Actor/State/SMB/STM_BaseAttack.cs |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/Fight/Actor/State/SMB/STM_BaseAttack.cs b/Fight/Actor/State/SMB/STM_BaseAttack.cs
index e7e8a3d..8decfa9 100644
--- a/Fight/Actor/State/SMB/STM_BaseAttack.cs
+++ b/Fight/Actor/State/SMB/STM_BaseAttack.cs
@@ -396,6 +396,10 @@
                 {
                     PlayerDatas.Instance.FightRefreshPlayerHp((uint)_target.ActorInfo.SyncServerHp);
                 }
+                else
+                {
+                    _target.ActorInfo.ResetHp((int)_target.ActorInfo.SyncServerHp, (short)_target.ActorInfo.SyncServerHpEx);
+                }
             }
 
             // 寤惰繜姝讳骸

--
Gitblit v1.8.0