少年修仙传客户端代码仓库
client_linchunjie
2018-09-14 2cd8c5b5d7516aee199a80051600a46099d9419e
3397【1.0.15】法宝潜力表现优化
2个文件已修改
8 ■■■■ 已修改文件
System/Treasure/TreasureAnimation.cs 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Treasure/TreasurePotentialPanel.cs 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Treasure/TreasureAnimation.cs
@@ -81,7 +81,7 @@
        public event Action<int> OnAchievementSfxComplete;
        public event Action OnAchievementTweenComplete;
        public event Action<int> OnUnlockPotentialComplete;
        public event Action<int> OnPotentialLevelUpComplete;
        public event Action<int,int> OnPotentialLevelUpComplete;
        public event Action<int> OnPotentialLineAnimComplete;
        TreasureShowStep m_Step = TreasureShowStep.None;
@@ -181,7 +181,7 @@
            }
            if (OnPotentialLevelUpComplete != null)
            {
                OnPotentialLevelUpComplete(_index);
                OnPotentialLevelUpComplete(_index, level);
            }
            stepComplete = true;
            //yield return null;
System/Treasure/TreasurePotentialPanel.cs
@@ -271,7 +271,7 @@
            }
        }
        private void OnPotentialLevelUpComplete(int _index)
        private void OnPotentialLevelUpComplete(int _index, int level)
        {
            var potential = m_Treasure.potentials[_index];
            potentialBriefInfos[_index].DisplayStateSfx();
@@ -280,7 +280,7 @@
            if (_nextPotential != 0)
            {
                var config = Config.Instance.Get<SkillConfig>(_nextPotential);
                if (potential.level == config.LearnSkillLV && potentialBriefInfos != null)
                if (level == config.LearnSkillLV && potentialBriefInfos != null)
                {
                    for (int i = 0; i < potentialBriefInfos.Length; i++)
                    {