少年修仙传客户端代码仓库
8个文件已修改
89 ■■■■■ 已修改文件
System/FindPrecious/FindPreciousItemBehaviour.cs 15 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/MainInterfacePanel/MainInterfaceWin.cs 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/NewBieGuidance/NewBieWin.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Realm/RealmModel.cs 46 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Realm/RealmTowerWin.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/RuneTower/RuneTowerWin.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/SkyTower/SkyTowerWin.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
UI/Common/ItemBehaviour.cs 15 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/FindPrecious/FindPreciousItemBehaviour.cs
@@ -24,6 +24,20 @@
                }
                return m_EquipSuitEffect;
            }
        }
        //物品基础特效(物品表)
        ItemBaseEffect m_ItemBaseEffect;
        ItemBaseEffect itemBaseEffect
        {
            get
            {
                if (m_ItemBaseEffect == null)
                {
                    m_ItemBaseEffect = ItemBaseEffect.Create(transform as RectTransform);
                }
                return m_ItemBaseEffect;
            }
        }
        int itemId = 0;
@@ -44,6 +58,7 @@
            }
            equipSuitEffect.Display(itemId);
            itemBaseEffect.Display(itemId);
        }
        [ExecuteAlways]
System/MainInterfacePanel/MainInterfaceWin.cs
@@ -60,6 +60,7 @@
        BuffModel Buffmodel { get { return ModelCenter.Instance.GetModel<BuffModel>(); } }
        PKModel pKModel { get { return ModelCenter.Instance.GetModel<PKModel>(); } }
        FeatureNoticeModel featureNoticeModel { get { return ModelCenter.Instance.GetModel<FeatureNoticeModel>(); } }
        RealmModel realmModel { get { return ModelCenter.Instance.GetModel<RealmModel>(); } }
        #region Built-in
        private bool IsUpdateBool = true;
@@ -127,6 +128,7 @@
                PlayerMainDate.DemonJarDamageRankWinChange += IsShowTaskPanel;
                ProcessCrossServerOneVsOne();
                realmModel.StartRealmFistBreakUPGuide();
            }
            catch (Exception ex)
            {
@@ -286,6 +288,9 @@
            }
        }
        private void OnGuideBegin()//引导开始
        {
            m_MainPositionTween.ShowTaskImmedidately(true, true);
System/NewBieGuidance/NewBieWin.cs
@@ -27,7 +27,7 @@
        [SerializeField] Button m_ClickEmptyComplete;
        [SerializeField] Transform m_ContainerDialogue;
        [SerializeField] RectTransform m_BubbleArrow;
        [SerializeField] Text m_Dialogue;
        [SerializeField] RichText m_Dialogue;
        [SerializeField] RectTransform m_ClickHintRoot;
        [SerializeField] RectTransform m_ClickHint;
        [SerializeField] RectTransform m_ContainerArrow;
System/Realm/RealmModel.cs
@@ -195,6 +195,7 @@
            funcConfig = FuncConfigConfig.Get("RealmMission");
            realMissionGuides = ConfigParse.ParseIntArrayDict(funcConfig.Numerical1);
            firstRealmBreakUpGuideID = int.Parse(funcConfig.Numerical2);
        }
@@ -675,6 +676,10 @@
                || dataType == PlayerDataType.TotalExp)
            {
                redpointDirty = true;
                if (WindowCenter.Instance.IsOpen<MainInterfaceWin>())
                {
                    StartRealmFistBreakUPGuide();
                }
            }
            if (dataType == PlayerDataType.RealmLevel)
@@ -782,7 +787,45 @@
        }
        //第一次渡劫引导
        public void StartRealmFistBreakUPGuide()
        {
            //满经验任务已完成领取可以渡劫,或者满经验任务完成但未领取奖励,都可以引导
            var realmLevel = PlayerDatas.Instance.baseData.realmLevel;
            if (realmLevel != 1)
                return;
            var config = RealmConfig.Get(realmLevel);
            if (PlayerDatas.Instance.baseData.LV < config.LVMax)
            {
                return;
            }
            //需要满经验
            ulong totalExp = (ulong)PlayerDatas.Instance.baseData.TotalExp + (ulong)PlayerDatas.Instance.baseData.ExpPoint * Constants.ExpPointValue;
            ulong maxExp = (ulong)PlayerLVConfig.GetExpByPlayerLv(PlayerDatas.Instance.baseData.LV);
            if (totalExp < maxExp)
            {
                return;
            }
            var missions = RealmLVUPTaskConfig.GetMissionIDs(realmLevel);
            for (int i = 0; i < missions.Count; i++)
            {
                int missionID = missions[i];
                int state = GetMissionState(PlayerDatas.Instance.baseData.realmLevel, missionID);
                if (state < 1)
                {
                    return;
                }
            }
            if (!NewBieCenter.Instance.inGuiding)
                NewBieCenter.Instance.StartNewBieGuideEx(firstRealmBreakUpGuideID);
        }
        #region 境界塔
        public void RequestChallenge()
@@ -867,6 +910,7 @@
        public RealmLVUPTaskConfig equipNeedConfig;
        public Dictionary<int, int[]> realMissionGuides = new Dictionary<int, int[]>();
        public event Action RealmMissionRefreshEvent;
        int firstRealmBreakUpGuideID = 0;
        //public uint TaskAwardState;    //进阶任务领奖状态;按任务ID二进制位存储是否已领取
        // 返回服务端的记录任务奖励状态 0未领取  1已领取
System/Realm/RealmTowerWin.cs
@@ -167,7 +167,7 @@
        int GetFlashKillCount()
        {
            int count = 0;
            if (realmModel.currentFloor <= 20)
            if (realmModel.currentFloor <= 10)
                return count;
            var floors = RealmTowerConfig.GetFloorsByFloorID(realmModel.currentFloor);
System/RuneTower/RuneTowerWin.cs
@@ -227,7 +227,7 @@
        int GetFlashKillCount()
        {
            int count = 0;
            if (model.currentTower <= 2)
            if (model.currentTower <= 1)
                return count;
            for (int i = 0; i < GeneralDefine.flashKillMaxCount; i++)
System/SkyTower/SkyTowerWin.cs
@@ -266,7 +266,7 @@
        int GetFlashKillCount()
        {
            int count = 0;
            if (model.currentFloor <= 20)
            if (model.currentFloor <= 10)
                return count;
            for (int i = 0; i < GeneralDefine.flashKillMaxCount; i++)
UI/Common/ItemBehaviour.cs
@@ -45,6 +45,20 @@
            }
        }
        //物品基础特效(物品表)
        ItemBaseEffect m_ItemBaseEffect;
        ItemBaseEffect itemBaseEffect
        {
            get
            {
                if (m_ItemBaseEffect == null)
                {
                    m_ItemBaseEffect = ItemBaseEffect.Create(transform as RectTransform);
                }
                return m_ItemBaseEffect;
            }
        }
        bool m_ShowCount = true;
        public bool showCount {
            get {
@@ -132,6 +146,7 @@
                }
                equipSuitEffect.Display(itemId);
                itemBaseEffect.Display(itemId);
            }
            catch (Exception e)
            {