少年修仙传客户端代码仓库
client_linchunjie
2019-04-18 f624ba05077458b476f76cb8d666029a2fb56807
System/WorldMap/LocalMapFindPath.cs
@@ -404,9 +404,19 @@
        private void FoucsEventPoint(int _eventPoint)
        {
            var config = MapEventPointConfig.Get(_eventPoint);
            if (config != null)
            {
                var npcConfig = NPCConfig.Get(config.NPCID);
                if (npcConfig.NPCType == 0)
                {
                    m_EventPointInstroduce.gameObject.SetActive(false);
                    return;
                }
            }
            if (model.selectedMapEventPoint != -1)
            {
                var config = MapEventPointConfig.Get(_eventPoint);
                var monsterRefreshConfig = MonsterRefreshPointConfig.Get(config.NPCID);
                var position = new Vector3(monsterRefreshConfig.Position.x * 0.5f, 0, monsterRefreshConfig.Position.y * 0.5f);