少年修仙传客户端代码仓库
client_Zxw
2018-10-31 7a50ac63a72b478e971e6bc89b2ba3ae2c4334a5
4512 子 【开发】【1.2.0】神兽功能优化 / 【前端】【1.2.0】神兽功能优化2
2个文件已修改
8 ■■■■■ 已修改文件
System/Strengthening/GodBeastEntry.cs 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Strengthening/GodBeastReinforcementWin.cs 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Strengthening/GodBeastEntry.cs
@@ -18,6 +18,7 @@
        [SerializeField] Text m_Item_Text;
        [SerializeField] Button m_GodBeastButton;
        [SerializeField] RedpointBehaviour m_RedPoint;
        [SerializeField] Image m_GodBeastIcon;
        public Button GodBeastButton
        {
            get { return m_GodBeastButton; }
@@ -31,6 +32,11 @@
        {
            int godBeastNumber = locationMarker % 100;//神兽编号
            int godBeastPart = locationMarker / 100;//神兽装备位ID
            var DogZConfig = Config.Instance.Get<DogzConfig>(godBeastNumber);
            if (DogZConfig != null)
            {
                m_GodBeastIcon.SetSprite(DogZConfig.HeadIcon);
            }
            List<ItemModel> itemModel = dogz_model.GetDogzEquips(godBeastNumber);
            if (itemModel != null)
            {
System/Strengthening/GodBeastReinforcementWin.cs
@@ -23,6 +23,7 @@
        public int LocationMarker;//位置标记
        public int EquipScore;//装备评分
        public int ItemPlace;//背包装备位置
        public int GodBeastId;//神兽ID
    }
    public class GodBeastReinforcementWin : Window
    {
@@ -173,6 +174,7 @@
                        godBeastClass.GodBeastStar = itemModel[i].chinItemModel.StarLevel;
                        godBeastClass.EquipScore = itemModel[i].equipScore;
                        godBeastClass.ItemPlace = itemModel[i].itemInfo.ItemPlace;
                        godBeastClass.GodBeastId = key;
                        var IudetDogzEquipPlus = itemModel[i].GetUseDataModel((int)ItemUseDataKey.Def_IudetDogzEquipPlus);// 神兽装备强化信息列表 [强化等级, 强化熟练度]
                        if (IudetDogzEquipPlus == null)
                        {