| Fight/GameActor/GA_NpcFightSgzcZZ.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| System/GeneralConfig/GeneralDefine.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
Fight/GameActor/GA_NpcFightSgzcZZ.cs
@@ -51,7 +51,7 @@ ActorInfo.MaxHp = m_H0406.MaxHP; ActorInfo.familyID = 0; ActorInfo.familyName = ""; ActorInfo.realm = (uint)Random.Range(3, 9); // ------------------------------------------------------------------------- // ------------------------------------------------------------------------- // ------------------------------------------------------------------------- @@ -77,6 +77,15 @@ } } foreach (var _lv in GeneralDefine.SgzcRealm.Keys) { if (ActorInfo.LV <= _lv) { ActorInfo.realm = (uint)GeneralDefine.SgzcRealm[_lv]; break; } } m_CmdManager = new CmdManager(); SyncHelpPlayerInfo(); 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) {