少年修仙传客户端代码仓库
hch
2020-10-27 b8b300c0f5d45ecf255f275760b5906b1347d134
0312 炼气首饰增加升星,修复强化炼气首饰跳转bug
2个文件已修改
33 ■■■■■ 已修改文件
System/EquipGem/EquipStrengthModel.cs 29 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/EquipStar/EquipStarModel.cs 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/EquipGem/EquipStrengthModel.cs
@@ -1,10 +1,10 @@
//--------------------------------------------------------
//    [Author]:           第二世界
//    [  Date ]:           Monday, March 11, 2019
//--------------------------------------------------------
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
//--------------------------------------------------------
//    [Author]:           第二世界
//    [  Date ]:           Monday, March 11, 2019
//--------------------------------------------------------
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using System;
namespace Snxxz.UI
@@ -855,6 +855,11 @@
                        position.x == level && position.y == place && type == 1 ? RedPointState.Simple : RedPointState.None;
                    redpoint.advanceRedpoint.state =
                        position.x == level && position.y == place && type == 2 ? RedPointState.Simple : RedPointState.None;
                    if (level == 1 && place > 8)
                    {
                        redpoint.strengthRedpoint.state = RedPointState.None;
                        redpoint.advanceRedpoint.state = RedPointState.None;
                    }
                }
            }
        }
@@ -904,10 +909,10 @@
                advanceRedpoint = new Redpoint(redpoint.id, EquipStrengthModel.REDPOINTBASE++);
            }
        }
    }
    }
}
System/EquipStar/EquipStarModel.cs
@@ -295,8 +295,8 @@
            if (level > 0)
            {
                int equipCnt = level < 2 ? 8 : 12;
                for (var i = 1; i <= equipCnt; i++)
               // int equipCnt = level < 2 ? 8 : 12;
                for (var i = 1; i <= 12; i++)
                {
                    var place = i;
                    var equipPosition = new Int2(level, place);