少年修仙传客户端代码仓库
leonard Wu
2018-08-03 c2d2d5d3a840bf50968b3f95e304929bc62a7b70
Fight/GameActor/Bhv_FindEnemy.cs
@@ -73,7 +73,7 @@
        float _distSqrt = MathUtility.DistanceSqrtXZ(_targetPos, _heroPos);
        if (_distSqrt > Mathf.Pow(reSetLockTargetDist, 2)
         || StatusMgr.Instance.IsInvincible(_hero.LockTarget.ServerInstID))
         || StatusMgr.Instance.IsInvisible(_hero.LockTarget.ServerInstID))
        {
            _hero.LockTarget = null;
        }