少年修仙传客户端代码仓库
Client_PangDeRong
2018-08-24 fff892296db7b76a06ab13ffb47a512b655cd12c
[1689】增加需要进行比较的装备位置配置
2个文件已修改
4 ■■■ 已修改文件
System/GeneralConfig/GeneralConfig.cs 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/KnapSack/Logic/PackModelInterface.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/GeneralConfig/GeneralConfig.cs
@@ -127,11 +127,13 @@
    public List<int> dungeonCanUseMoneyIds { get; private set; }
    public Dictionary<int, int> dungeonRebornClientTimes { get; private set; }
    public int[] CompareEquipPlaces { get; private set;}
    public void Init()
    {
        try
        {
            CompareEquipPlaces = GetIntArray("EquipUpType");
            greatMasterStartLV = GetInt("GreatMasterStartLV");
            playerMaxLevel = GetInt("PlayerMaxLV");
            potentialUpSuccessRecommend = GetFloat("SPSkillType", 2) * 0.0001f;
System/KnapSack/Logic/PackModelInterface.cs
@@ -289,7 +289,7 @@
        private int GetEquipScore(PackType type,int itemId, Dictionary<AttrEnum, int> specAttrDict)
        {
            tagChinModel = Config.Instance.Get<ItemConfig>(itemId);
            if (tagChinModel == null || tagChinModel.EquipPlace == 0) return 0;
            if (tagChinModel == null ||  !GeneralConfig.Instance.CompareEquipPlaces.Contains(tagChinModel.EquipPlace)) return 0;
            Equation.Instance.Clear();
            _tagGsProValueDict = EquipGSParamConfig.GetTagGsProValueDict(tagChinModel.LV, tagChinModel.ItemColor,tagChinModel.StarLevel);