| | |
| | | GA_Player _player = GAMgr.Instance.GetBySID(package.AtkPlayerID) as GA_Player; |
| | | if (_player != null) |
| | | { |
| | | PlayerDatas.Instance.ReCheckAttackTarget(_player); |
| | | if (_hero.SelectTarget != null |
| | | && _hero.SelectTarget.ActorType != GameObjType.gotPlayer) |
| | | { |
| | | PlayerDatas.Instance.ReCheckAttackTarget(_player); |
| | | } |
| | | |
| | | if (!StatusMgr.Instance.IsExist(package.AtkPlayerID, StatusMgr.Instance.redNameBuffID)) |
| | | { |
| | |
| | | {
|
| | | return;
|
| | | }
|
| | |
|
| | | #if UNITY_EDITOR
|
| | | if (m_LockTarget is GA_Player && value != null && !(value is GA_Player))
|
| | | {
|
| | | Debug.LogFormat("更换了锁定目标: {0} => {1}", m_LockTarget.ServerInstID, value.ServerInstID);
|
| | | }
|
| | | #endif
|
| | | m_LockTarget = value;
|
| | | }
|
| | | }
|