少年修仙传客户端代码仓库
client_Wu Xijin
2019-03-19 1d976f93f85b63a4169fe575cd4061f0375cb0b4
Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts
1个文件已修改
13 ■■■■ 已修改文件
System/Dungeon/TrialSweepResultWin.cs 13 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Dungeon/TrialSweepResultWin.cs
@@ -281,8 +281,8 @@
        {
            var config_x = ItemConfig.Get(x.id);
            var config_y = ItemConfig.Get(y.id);
            bool equip_x = config_x.Type >= 101 && config_x.Type <= 109;
            bool equip_y = config_y.Type >= 101 && config_y.Type <= 109;
            bool equip_x = ItemLogicUtility.Instance.IsEquip(x.id);
            bool equip_y = ItemLogicUtility.Instance.IsEquip(y.id);
            if (equip_x.CompareTo(equip_y) != 0)
            {
                return equip_x.CompareTo(equip_y);
@@ -303,15 +303,6 @@
            }
            else
            {
                bool type_108109_x = config_x.Type >= 108;
                bool type_108109_y = config_y.Type >= 108;
                if (type_108109_x || type_108109_y)
                {
                    if (config_x.Type.CompareTo(config_y.Type) != 0)
                    {
                        return -config_x.Type.CompareTo(config_y.Type);
                    }
                }
                if (config_x.ItemColor.CompareTo(config_y.ItemColor) != 0)
                {
                    return -config_x.ItemColor.CompareTo(config_y.ItemColor);