少年修仙传客户端代码仓库
client_Hale
2018-11-07 321310dba17005ce57521ec7658d3c1a107c5e56
2305 【BUG】【1.2】引导点击任务时,会自动弹出NPC的默认对话框
1个文件已修改
14 ■■■■■ 已修改文件
Fight/MapTransferUtility.cs 14 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Fight/MapTransferUtility.cs
@@ -18,11 +18,14 @@
        Fight,
    }
    private E_MapTransferDoType m_MapTransferType;
    public E_MapTransferDoType MapTransferDoType {
        get {
    public E_MapTransferDoType MapTransferDoType
    {
        get
        {
            return m_MapTransferType;
        }
        set {
        set
        {
            m_MapTransferType = value;
#if UNITY_EDITOR
            // Debug.LogFormat("设置方式: {0}", m_MapTransferType);
@@ -121,7 +124,8 @@
    #endregion
    #region npc
    public int NpcID {
    public int NpcID
    {
        get; set;
    }
    #endregion
@@ -923,6 +927,7 @@
                && (_hero.SkillMgr.CurCastSkill == null || _hero.SkillMgr.CurCastSkill.SkillCompelete))
                {
                    NPCInteractProcessor.InvokeEvent(E_NpcType.Func, NpcID, _npc.ServerInstID);
                    Clear();
                }
            }
        }
@@ -964,6 +969,7 @@
                        _npc.Forward = -_npc2heroDir;
                    }
                    _hero.Forward = _npc2heroDir;
                    Clear();
                }
            }
        }