From b04fc4bee9584af8ea0457aafe4cf1b6c19b36d2 Mon Sep 17 00:00:00 2001
From: client_Hale <339726288@qq.com>
Date: 星期五, 01 三月 2019 16:36:10 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts

---
 System/Skill/TreasureSkillModel.cs |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/System/Skill/TreasureSkillModel.cs b/System/Skill/TreasureSkillModel.cs
index 6d3318e..f5de5f7 100644
--- a/System/Skill/TreasureSkillModel.cs
+++ b/System/Skill/TreasureSkillModel.cs
@@ -8,7 +8,8 @@
     {
         Dictionary<int, TreasureSkill> treasureSkills = new Dictionary<int, TreasureSkill>();
         Dictionary<int, List<int>> jobTreasureSkills = new Dictionary<int, List<int>>();
-        List<int> skillLevelUpItems = new List<int>();
+
+        public List<int> skillLevelUpItems = new List<int>();
 
         int m_SelectSkill;
         public int selectSkill
@@ -368,7 +369,7 @@
 
                 foreach (var potential in skill.potentials)
                 {
-                    if (requireRemind && funcOpen &&
+                    if (requireRemind && funcOpen && IsPotentialUnlock(potential.id) &&
                         TryLevelUpPotential(potential.id, out error)
                         && skill.level > 0)
                     {

--
Gitblit v1.8.0