From f75d07d8daf480b862bd1fd36ba4b389939ae4fd Mon Sep 17 00:00:00 2001
From: client_Hale <339726288@qq.com>
Date: 星期一, 10 十二月 2018 21:23:19 +0800
Subject: [PATCH] 4632 上古助战机器人境界接入配置
---
System/GeneralConfig/GeneralDefine.cs | 15 +++++++++++++++
1 files changed, 15 insertions(+), 0 deletions(-)
diff --git a/System/GeneralConfig/GeneralDefine.cs b/System/GeneralConfig/GeneralDefine.cs
index 4496075..b364584 100644
--- a/System/GeneralConfig/GeneralDefine.cs
+++ b/System/GeneralConfig/GeneralDefine.cs
@@ -162,6 +162,7 @@
public static int DemonJarAutoTime { get; private set; }
public static Dictionary<int, Dictionary<int, GA_NpcFightSgzcZZ.EquipRandomInfo>> SgzzRobotEquipDict { get; private set; }
+ public static Dictionary<int, int> SgzcRealm { get; private set; }
public static void Init()
{
@@ -615,10 +616,24 @@
_jobDict.Add(_lv, _randEquip);
}
}
+
SgzzRobotEquipDict.Add(job, _jobDict);
+
}
}
+ if (SgzcRealm == null)
+ {
+ SgzcRealm = new Dictionary<int, int>();
+
+ var _lvArr = GetInputString("SGZCRobotRealm", 1).Split('|');
+ var _rLvArr = GetInputString("SGZCRobotRealm", 2).Split('|');
+
+ for (int j = 0; j < _lvArr.Length; ++j)
+ {
+ SgzcRealm[int.Parse(_lvArr[j])] = int.Parse(_rLvArr[j]);
+ }
+ }
}
catch (Exception ex)
{
--
Gitblit v1.8.0