From f2cd8cf71a54e251e5f507c7d69c6f91f90e5074 Mon Sep 17 00:00:00 2001
From: client_Hale <339726288@qq.com>
Date: 星期二, 25 九月 2018 20:23:14 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts

---
 System/Skill/SkillModel.cs |   54 +++++++++++++++++++++++++++---------------------------
 1 files changed, 27 insertions(+), 27 deletions(-)

diff --git a/System/Skill/SkillModel.cs b/System/Skill/SkillModel.cs
index 7f93764..29903ea 100644
--- a/System/Skill/SkillModel.cs
+++ b/System/Skill/SkillModel.cs
@@ -350,7 +350,7 @@
                     taskHoleCondition = result;
                 }
             }
-            UpdateTaskHoleRedpoint();
+            //UpdateTaskHoleRedpoint();
         }
 
         RolePromoteModel m_PromoteModel;
@@ -528,7 +528,7 @@
             }
             playerLoginOk = true;
             UpdateRedpoint();
-            UpdateTaskHoleRedpoint();
+            //UpdateTaskHoleRedpoint();
         }
 
         public void CheckEquipPassSkill(PlayerSkillData _skill)
@@ -648,29 +648,29 @@
             UpdateRedpoint();
         }
 
-        public Redpoint taskHoleRedpoint = new Redpoint(10302, 1030299);
-        void UpdateTaskHoleRedpoint()
-        {
-            taskHoleRedpoint.state = RedPointState.None;
-            if (DayRemind.Instance.GetDayRemind(DayRemind.TASK_SKILL_HOLE))
-            {
-                return;
-            }
-            foreach (var hole in taskHoleDict.Keys)
-            {
-                var taskId = taskHoleDict[hole];
-                if (IsImmediatelyUnlock(hole))
-                {
-                    var config = Config.Instance.Get<PyTaskConfig>(taskId);
-                    if (PlayerDatas.Instance.baseData.LV >= config.lv
-                        && !IsTaskHoleUnlock(hole))
-                    {
-                        taskHoleRedpoint.state = RedPointState.Simple;
-                    }
-                    return;
-                }
-            }
-        }
+        //public Redpoint taskHoleRedpoint = new Redpoint(10302, 1030299);
+        //void UpdateTaskHoleRedpoint()
+        //{
+        //    taskHoleRedpoint.state = RedPointState.None;
+        //    if (DayRemind.Instance.GetDayRemind(DayRemind.TASK_SKILL_HOLE))
+        //    {
+        //        return;
+        //    }
+        //    foreach (var hole in taskHoleDict.Keys)
+        //    {
+        //        var taskId = taskHoleDict[hole];
+        //        if (IsImmediatelyUnlock(hole))
+        //        {
+        //            var config = Config.Instance.Get<PyTaskConfig>(taskId);
+        //            if (PlayerDatas.Instance.baseData.LV >= config.lv
+        //                && !IsTaskHoleUnlock(hole))
+        //            {
+        //                taskHoleRedpoint.state = RedPointState.Simple;
+        //            }
+        //            return;
+        //        }
+        //    }
+        //}
 
         public bool IsImmediatelyUnlock(int hole)
         {
@@ -685,7 +685,7 @@
         public void SetTaskHoleRemind()
         {
             DayRemind.Instance.SetDayRemind(DayRemind.TASK_SKILL_HOLE, true);
-            UpdateTaskHoleRedpoint();
+            //UpdateTaskHoleRedpoint();
         }
         #endregion
 
@@ -694,7 +694,7 @@
             if (_id == 109)
             {
                 UpdateRedpoint();
-                UpdateTaskHoleRedpoint();
+                //UpdateTaskHoleRedpoint();
             }
         }
     }

--
Gitblit v1.8.0