| | |
| | | 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;
|
| | | }
|
| | |
| | | {
|
| | | _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)
|
| | | {
|