少年修仙传客户端代码仓库
client_Hale
2018-11-07 5e7ee4b9e5dff53631af9072559df581fe097d8a
Fight/MapTransferUtility.cs
@@ -958,6 +958,7 @@
            {
                if (_chkDistSqrt <= Mathf.Pow(_chkDist, 2))
                {
                    Clear();
                    NPCInteractProcessor.InvokeEvent((E_NpcType)_npcConfig.NPCType, _npcConfig.NPCID, _npc.ServerInstID);
                    _hero.LockTarget = _npc;
                    _hero.SelectTarget = _npc;
@@ -969,7 +970,6 @@
                        _npc.Forward = -_npc2heroDir;
                    }
                    _hero.Forward = _npc2heroDir;
                    Clear();
                }
            }
        }