| | |
| | | public List<int> demonJarNoRebornRemindMaps = null; |
| | | |
| | | public string[][] ModeDefaultConfig { get; private set; } |
| | | public int[] RealmGroup { get; private set; } |
| | | public float PrefightAtkRange { get; private set; } |
| | | |
| | | public Dictionary<int, string> multipleRealmImgDict { get; private set; } |
| | | public void Init() |
| | | { |
| | | try |
| | |
| | | _pos[0] = (double)_data[_key][0]; |
| | | _pos[1] = (double)_data[_key][1]; |
| | | NpcPosOffset.Add(_npcID, new Vector3((float)_pos[0], 0, (float)_pos[1])); |
| | | } |
| | | |
| | | FuncConfigConfig nxxdImg = ConfigManager.Instance.GetTemplate<FuncConfigConfig>("NXXDPicture"); |
| | | LitJson.JsonData nxxdData = LitJson.JsonMapper.ToObject(nxxdImg.Numerical1); |
| | | multipleRealmImgDict = new Dictionary<int, string>(); |
| | | if (nxxdData.IsArray) |
| | | { |
| | | for (i = 0; i < nxxdData.Count; i++) |
| | | { |
| | | if (nxxdData[i].IsArray) |
| | | { |
| | | multipleRealmImgDict.Add(int.Parse(nxxdData[i][0].ToString()), nxxdData[i][1].ToString()); |
| | | } |
| | | } |
| | | } |
| | | |
| | | bossShuntMaps = new List<int>(GetIntArray("BossShunt")); |
| | |
| | | ModeDefaultConfig[2] = _pet; |
| | | ModeDefaultConfig[3] = _horse; |
| | | } |
| | | |
| | | if (RealmGroup == null) |
| | | { |
| | | func = ConfigManager.Instance.GetTemplate<FuncConfigConfig>("RealmGroup"); |
| | | string[] _group = func.Numerical1.Split('|'); |
| | | RealmGroup = new int[_group.Length]; |
| | | for (int j = 0; j < _group.Length; ++j) |
| | | { |
| | | int.TryParse(_group[j], out RealmGroup[j]); |
| | | } |
| | | } |
| | | |
| | | func = ConfigManager.Instance.GetTemplate<FuncConfigConfig>("PrefightAtkRange"); |
| | | PrefightAtkRange = float.Parse(func.Numerical1); |
| | | } |
| | | catch (Exception ex) |
| | | { |