少年修仙传客户端代码仓库
client_linchunjie
2019-05-21 a78e2f06f4fde07608940c0b2fa4557b09642658
Fight/MapTransferUtility.cs
@@ -327,7 +327,6 @@
                        yield return null;
                    }
                }
                _hero.MoveToPosition(_destPostion, 1);
                yield break;
            }
@@ -1299,7 +1298,7 @@
        {
            float _fightConfigDist = _findLocation ? _npcLocation.scope : 4;
            if (_chkDistSqrt < Mathf.Pow(_fightConfigDist, 2) || _npc != null)// 这里的2M是暂定值
            if (_chkDistSqrt < Mathf.Pow(_fightConfigDist, 2) || (_npc != null && PathFinder.WalkAble(_hero.Pos, _npc.Pos)))// 这里的2M是暂定值
            {
                _hero.Behaviour.StartHandupAI();
                Clear();