少年修仙传客户端代码仓库
client_Hale
2019-04-29 77ab9123aee6e101c559f3584bad2fc51fa757e3
Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts
6个文件已修改
49 ■■■■ 已修改文件
System/Alchemy/AlchemyDrugWin.cs 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Equip/EquipFrameWin.cs 21 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/EquipGem/EquipGemModel.cs 17 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/EquipStar/EquipStarModel.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/EquipTrain/EquipTrainModel.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/MainInterfacePanel/LowSettingTip.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Alchemy/AlchemyDrugWin.cs
@@ -124,14 +124,15 @@
        private void AlchemyStateRefresh()
        {
            DisplayAlchmey();
            var lastGrasp = !m_AlchemyStudy.gameObject.activeSelf;
            if (model.isServerPrepare && !lastGrasp && model.IsGraspRecipe(model.selectAlchemy))
            {
                m_StudySuccEffect.Play();
            }
            DisplayAlchmey();
        }
        void DisplayAlchmey()
System/Equip/EquipFrameWin.cs
@@ -113,6 +113,27 @@
            WindowCenter.Instance.Close<EquipFrameWin>();
        }
        public static int GetRedpointFunction()
        {
            if (ModelCenter.Instance.GetModel<EquipStrengthModel>().redpoint.state == RedPointState.Simple)
            {
                return 0;
            }
            if (ModelCenter.Instance.GetModel<EquipGemModel>().redpoint.state == RedPointState.Simple)
            {
                return 1;
            }
            if (RedpointCenter.Instance.GetRedpointState(910000) == RedPointState.Simple)
            {
                return 2;
            }
            if (RedpointCenter.Instance.GetRedpointState(1720000) == RedPointState.Simple)
            {
                return 3;
            }
            return 0;
        }
    }
}
System/EquipGem/EquipGemModel.cs
@@ -354,6 +354,19 @@
            return true;
        }
        public bool IsGemHoleOpen(int hole, int starLevel)
        {
            GemHoleCondition condition;
            if (TryGetGemHoleCondition(hole, out condition))
            {
                if (starLevel < condition.equipStar)
                {
                    return false;
                }
            }
            return true;
        }
        public bool IsEquipGemHoleOpen(int packIndex, int hole)
        {
            var config = EquipPlaceMapConfig.Get(packIndex);
@@ -880,6 +893,10 @@
            {
                return false;
            }
            if (IsEquipGemMaxLevel(equipGem))
            {
                return false;
            }
            var config = ItemConfig.Get(equipGem);
            var type = config.EffectValueA1;
            var emptyHoleCount = GetSameTypeEmptyUnlockHole(cacheEquipSets, type);
System/EquipStar/EquipStarModel.cs
@@ -31,7 +31,7 @@
        Dictionary<int, EquipSetStar> equipStars = new Dictionary<int, EquipSetStar>();
        Redpoint redpoint = new Redpoint(1720000);
        Redpoint redpoint = new Redpoint(106, 1720000);
        bool redpointDirty = false;
        LogicUpdate logicUpdate = new LogicUpdate(1);
System/EquipTrain/EquipTrainModel.cs
@@ -23,7 +23,7 @@
        static Dictionary<int, int> trainTypes = new Dictionary<int, int>();
        Dictionary<int, EquipTrainSet> equipTrains = new Dictionary<int, EquipTrainSet>();
        Redpoint redpoint = new Redpoint(910000);
        Redpoint redpoint = new Redpoint(106,910000);
        bool redpointDirty = false;
        LogicUpdate logicUpdate = new LogicUpdate(1);
System/MainInterfacePanel/LowSettingTip.cs
@@ -143,7 +143,7 @@
        void Strengthen1Button()
        {
            WindowCenter.Instance.Close<MainInterfaceWin>();
            WindowCenter.Instance.Open<EquipFrameWin>(false, 0);
            WindowCenter.Instance.Open<EquipFrameWin>(false, EquipFrameWin.GetRedpointFunction());
        }
        void OpenEquip()