From c5cee28dcc74b6bbe836ea732a1d4fdd0c808699 Mon Sep 17 00:00:00 2001
From: Client_PangDeRong <593317293@qq.com>
Date: 星期五, 09 十一月 2018 20:50:44 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts

---
 System/Dungeon/MultipleDifficultyDungeonWin.cs |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/System/Dungeon/MultipleDifficultyDungeonWin.cs b/System/Dungeon/MultipleDifficultyDungeonWin.cs
index 8e4792a..961b4eb 100644
--- a/System/Dungeon/MultipleDifficultyDungeonWin.cs
+++ b/System/Dungeon/MultipleDifficultyDungeonWin.cs
@@ -49,8 +49,10 @@
                 var playerLevel = PlayerDatas.Instance.baseData.LV;
                 for (int i = dungeons.Count - 1; i >= 0; i--)
                 {
-                    var config = Config.Instance.Get<DungeonConfig>(model.GetDungeonId(dungeons[i]));
-                    if (playerLevel >= config.LVLimitMin)
+                    var dungeonId = model.GetDungeonId(dungeons[i]);
+                    var config = Config.Instance.Get<DungeonConfig>(dungeonId);
+                    var grade = model.GetGrade(dungeons[i]);
+                    if (playerLevel >= config.LVLimitMin && grade > 0)
                     {
                         model.selectedKylinDungeon = dungeons[i];
                         break;

--
Gitblit v1.8.0