少年修仙传客户端代码仓库
client_Hale
2018-12-14 4c36c36508aeb762523c22ef52309ca8a83ed99c
Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts
3个文件已修改
35 ■■■■■ 已修改文件
System/MainInterfacePanel/InGamePushContainer.cs 9 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Mount/MountStoneTipsWin.cs 20 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Pet/PetAttributeMethods.cs 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/MainInterfacePanel/InGamePushContainer.cs
@@ -103,11 +103,16 @@
        private void CheckHelpPointExchange()
        {
            int pushId = exchageModel.currentShopId;
            m_HelpPointExchangeNotify.gameObject.SetActive(pushId != 0);
            if (pushId != 0)
            StoreConfig storeConfig = Config.Instance.Get<StoreConfig>(pushId);
            if (pushId != 0 && storeConfig != null)
            {
                m_HelpPointExchangeNotify.gameObject.SetActive(true);
                m_HelpPointExchangeNotify.SetDisplay();
            }
            else
            {
                m_HelpPointExchangeNotify.gameObject.SetActive(false);
            }
        }
        private void CheckRealmBetterEquip()
System/Mount/MountStoneTipsWin.cs
@@ -184,20 +184,24 @@
                foreach (var item in _dic.Keys)
                {
                    textNumber += 1;
                    val += Config.Instance.Get<PlayerPropertyConfig>(item).Name;
                    if (item == 15 || item == 16)
                    var propertyConfig = Config.Instance.Get<PlayerPropertyConfig>(item);
                    val += propertyConfig.Name;
                    switch (propertyConfig.ISPercentage)
                    {
                        val += "<color=#109d06>  +" + (_dic[item] * _max) / 100 + "%   </color>";
                    }
                    else
                    {
                        val += "<color=#109d06>  +" + (_dic[item] * _max).ToString() + "   </color>";
                        case 0:
                            val += "<color=#109d06>  +" + (_dic[item] * _max) + "   </color>";
                            break;
                        case 1:
                            val += "<color=#109d06> +" + (_dic[item] * _max) / 100 + "%   </color>";
                            break;
                        case 2:
                            val += "<color=#109d06> +" + (_dic[item] * _max) + "%   </color>";
                            break;
                    }
                    if (textNumber == 3)
                    {
                        val += "\n";
                    }
                }
                _text.text = val;
            }
System/Pet/PetAttributeMethods.cs
@@ -399,13 +399,15 @@
                            }
                        }
                    }
                    _scoreNumAll = Mathf.FloorToInt(_tagPetClass.AtkAdd * 2.5f) + _scoreNum;
                    Dictionary<int, int> Dic = new Dictionary<int, int>();
                    Dic.Add(78, _tagPetClass.AtkAdd);
                    Dic.Add(77, _tagPetClass.AtkAdd);
                    _scoreNumAll = UIHelper.GetFightPower(Dic) + _scoreNum;
                    sumFight += _scoreNumAll;
                }
                allFightText.text = (sumFight + InitFightPower).ToString();
                attackSpeed.text = ((float)UIHelper.GetPropertyMapPlayerData(AttrEnum.ATKSPEED) / 100).ToString();
            }
        }
        public void RefreshPetUpgradeCostUI(bool isRefresh = false)