少年修仙传客户端代码仓库
client_Hale
2019-05-20 506ab589db33080e78b45f9fa5db555786f4b596
3634 【2.0】【bug】飞行后打断主线寻路
1个文件已修改
3 ■■■■ 已修改文件
Fight/MapTransferUtility.cs 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
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();