少年修仙传客户端代码仓库
client_Wu Xijin
2019-01-07 cbb4009abdf84cf020be9cfc1de88dc436652bb3
Fight/Actor/State/SMB/STM_BaseAttack.cs
@@ -231,7 +231,7 @@
        if (_fight == null)
        {
#if UNITY_EDITOR
            Debug.LogErrorFormat("owner: {0} 类型问题: {1}" ,owner.ServerInstID, owner.GetType());
            Debug.LogErrorFormat("owner: {0} 类型问题: {1}", owner.ServerInstID, owner.GetType());
#endif
            return;
        }
@@ -367,8 +367,11 @@
                {
                    _target.Die(owner.ServerInstID);
                }
                else
                {
                    _target.ActorInfo.ResetHp((int)_target.ActorInfo.SyncServerHp, (short)_target.ActorInfo.SyncServerHpEx);
                }
                _target.ActorInfo.ResetHp((int)_target.ActorInfo.SyncServerHp, (short)_target.ActorInfo.SyncServerHpEx);
                // 主角血量扣除的补充
                if (_target.ServerInstID == PlayerDatas.Instance.PlayerId)
                {