少年修仙传客户端代码仓库
client_Wu Xijin
2018-10-18 1868bc632a9134b6891d4fc5f427e3f280b9e973
Fight/Actor/State/SMB/Idle_0.cs
@@ -17,7 +17,7 @@
        GA_Pet _pet = owner as GA_Pet;
        if (_pet != null)
        {
            if (Time.time - m_LastDanceTime > GeneralConfig.Instance.PetDanceInterval)
            if (Time.time - m_LastDanceTime > GeneralDefine.PetDanceInterval)
            {
                _pet.Play(GAStaticDefine.State_Dance);
                m_LastDanceTime = Time.time;
@@ -29,7 +29,7 @@
            GA_NpcFunc _funcNpc = owner as GA_NpcFunc;
            if (_funcNpc != null && _funcNpc.NpcConfig.NPCType == 0)
            {
                if (Time.time - m_LastDanceTime > GeneralConfig.Instance.FuncNpcDanceInterval)
                if (Time.time - m_LastDanceTime > GeneralDefine.FuncNpcDanceInterval)
                {
                    _funcNpc.Play(GAStaticDefine.State_Dance);
                    m_LastDanceTime = Time.time;