From de828e6cc26cf4d04f59c352a004323134b76658 Mon Sep 17 00:00:00 2001
From: client_Wu Xijin <364452445@qq.com>
Date: 星期二, 04 九月 2018 10:57:44 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts

---
 System/Chat/ChatCenter.cs |   17 +++++++++++++++++
 1 files changed, 17 insertions(+), 0 deletions(-)

diff --git a/System/Chat/ChatCenter.cs b/System/Chat/ChatCenter.cs
index 43c4a03..ef94110 100644
--- a/System/Chat/ChatCenter.cs
+++ b/System/Chat/ChatCenter.cs
@@ -777,6 +777,23 @@
                 if (model.dungeonResult.leaderID == PlayerDatas.Instance.baseData.PlayerID
                     && realmConfig != null && realmConfig.IsBigRealm == 1)
                 {
+                    var count = 0;
+                    var configs = Config.Instance.GetAllValues<RealmConfig>();
+                    for (int i = 0; i < configs.Count; i++)
+                    {
+                        if (configs[i].Lv < realmModel.cacheRealmLv && configs[i].IsBigRealm == 1)
+                        {
+                            count++;
+                        }
+                        else if (configs[i].Lv >= realmModel.cacheRealmLv)
+                        {
+                            break;
+                        }
+                    }
+                    if (count >= 3)
+                    {
+                        return;
+                    }
                     var teamModel = ModelCenter.Instance.GetModel<TeamModel>();
                     for (int i = 0; i < teamModel.myTeam.memberCount; i++)
                     {

--
Gitblit v1.8.0