少年修仙传客户端代码仓库
0312 版本同步- 升星成功率,关闭所有界面可能导致副本退出按钮不存在问题
2个文件已修改
6 ■■■■■ 已修改文件
System/EquipStar/EquipStarModel.cs 4 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/WindowBase/WindowCenter.cs 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/EquipStar/EquipStarModel.cs
@@ -647,11 +647,11 @@
            var isSuit = item.config.SuiteiD > 0;
            if (isSuit)
            {
                successRate = Mathf.Clamp(Mathf.CeilToInt(config.SuitRate * amendRate), GeneralDefine.suitEquipStarUpgradeRateFloor, GeneralDefine.suitEquipStarUpgradeRateCeiling);
                successRate = Mathf.Clamp(Mathf.CeilToInt((float)Math.Round(config.SuitRate * amendRate, 2)), GeneralDefine.suitEquipStarUpgradeRateFloor, GeneralDefine.suitEquipStarUpgradeRateCeiling);
            }
            else
            {
                successRate = Mathf.Clamp(Mathf.CeilToInt(config.UnSuitRate * amendRate), GeneralDefine.normalEquipStarUpgradeRateFloor, GeneralDefine.normalEquipStarUpgradeRateCeiling);
                successRate = Mathf.Clamp(Mathf.CeilToInt((float)Math.Round(config.UnSuitRate * amendRate, 2)), GeneralDefine.normalEquipStarUpgradeRateFloor, GeneralDefine.normalEquipStarUpgradeRateCeiling);
            }
            return successRate * 0.01f;
System/WindowBase/WindowCenter.cs
@@ -216,7 +216,7 @@
            return new List<string>(windows.Keys);
        }
        public void CloseAll(CloseAllIgnoreType ignoreType = CloseAllIgnoreType.System)
        public void CloseAll(CloseAllIgnoreType ignoreType = CloseAllIgnoreType.BaseAndCustom)
        {
            for (var i = windows.Keys.Count - 1; i >= 0; i--)
            {