少年修仙传客户端代码仓库
hch
2020-01-16 d9170fd60a26868f95467b933a2a262fb637eda8
0312 境界提升界面
2个文件已修改
26 ■■■■■ 已修改文件
System/Realm/RealmBriefBehaviour.cs 1 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Realm/RealmPromoteWin.cs 25 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Realm/RealmBriefBehaviour.cs
@@ -79,7 +79,6 @@
                m_Properties[i].gameObject.SetActive(false);
            }
            m_ReikiPoint.text = model.realmLevelUpReikiPoint.ToString();
        }
        void DisplayEquip()
System/Realm/RealmPromoteWin.cs
@@ -8,6 +8,7 @@
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using LitJson;
namespace Snxxz.UI
{
@@ -17,6 +18,9 @@
        [SerializeField] Text m_FightPoint;
        [SerializeField] PropertyBehaviour[] m_Propertys;
        [SerializeField] Text m_ReikiPoint;
        [SerializeField] Text m_ReikiText;
        [SerializeField] Text m_SkillName;
        [SerializeField] Text m_SkillText;
        [SerializeField] Image m_RealmIcon;
        [SerializeField] UIEffect m_Effect;
        [SerializeField] Button m_Close;
@@ -116,8 +120,27 @@
                    m_Propertys[i].DisplayRealm(property, currentConfig.AddAttrNum[i] - propertys[property], currentConfig.AddAttrNum[i]);
                }
            }
            m_ReikiPoint.text = string.Empty;
            m_ReikiText.text = string.Empty;
            m_SkillName.text = string.Empty;
            m_SkillText.text = string.Empty;
            if (currentConfig.AddFreePoint != 0)
            {
                m_ReikiPoint.text = currentConfig.AddFreePoint.ToString();
                m_ReikiText.text = Language.Get("Z2007");
            }
            m_ReikiPoint.text = model.realmLevelUpReikiPoint.ToString();
            var config = RealmConfig.Get(realmLevel);
            if (config.LearnSkillIDInfo.Length > 4)
            {
                var json = JsonMapper.ToObject(config.LearnSkillIDInfo);
                var array = JsonMapper.ToObject<int[]>(json[PlayerDatas.Instance.baseData.Job.ToString()].ToJson());
                var skillConfig = SkillConfig.Get(array[0]);
                m_SkillName.text = skillConfig.SkillName;
                m_SkillText.text = Language.Get("Z2008");
            }
            m_RealmIcon.SetSprite(currentConfig.Img);