少年修仙传客户端代码仓库
client_Hale
2019-01-14 3036036624aeaa3f31b76ffbe84b18b692dac18f
2647 【1.3.100】上古战场机器人偶发技能特效不消失
1个文件已修改
15 ■■■■■ 已修改文件
Fight/GameActor/GActorPlayerBase.cs 15 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Fight/GameActor/GActorPlayerBase.cs
@@ -264,6 +264,15 @@
        if (m_ClothesModel)
        {
            SFXController[] _ctrls = m_ClothesModel.GetComponentsInChildren<SFXController>();
            if (_ctrls != null && _ctrls.Length > 0)
            {
                for (int i = 0; i < _ctrls.Length; ++i)
                {
                    SFXPlayUtility.Instance.Release(_ctrls[i]);
                }
            }
            _resID = JobSetup.BaseEquip[0];
            if (ClothesItemID != 0)
            {
@@ -281,12 +290,6 @@
                    m_ClothesAnimator.enabled = false;
                    m_ClothesAnimator = null;
                }
            }
            SFXController[] _ctrls = m_ClothesModel.GetComponentsInChildren<SFXController>();
            for (int i = 0; i < _ctrls.Length; ++i)
            {
                SFXPlayUtility.Instance.Release(_ctrls[i]);
            }
        }