| | |
| | | Dictionary<int, float> levelUpQualityCostModulus;
|
| | | Dictionary<int, int> m_QualityMaxLevels;
|
| | | Dictionary<int, int> m_MultiPropertyRuneInlayDict;
|
| | | Dictionary<int, List<int>> m_RandomRunes = new Dictionary<int, List<int>>();
|
| | | List<int> m_MultiPropertyRunes = new List<int>();
|
| | |
|
| | | int[] specialHoleRemindLevels = null;
|
| | |
| | | }
|
| | | specialHole = 8;
|
| | | samePropertyHoleLimit = int.Parse(funcConfig.Numerical5);
|
| | |
|
| | | funcConfig = FuncConfigConfig.Get("RandomRuneIDList");
|
| | | var json = LitJson.JsonMapper.ToObject(funcConfig.Numerical2);
|
| | | foreach (var itemKey in json.Keys)
|
| | | {
|
| | | var itemId = int.Parse(itemKey);
|
| | | m_RandomRunes[itemId] = new List<int>(LitJson.JsonMapper.ToObject<int[]>(json[itemKey].ToJson()));
|
| | | }
|
| | | }
|
| | |
|
| | | for (int i = 0; i < RUNE_HOLE_COUNT; i++)
|
| | |
| | | return count;
|
| | | }
|
| | |
|
| | | public bool IsExistInRandomRunes(int itemId, int runeId)
|
| | | {
|
| | | return m_RandomRunes.ContainsKey(itemId) && m_RandomRunes[itemId].Contains(runeId);
|
| | | }
|
| | |
|
| | | public bool IsRuneHoleOpen(int hole, uint state)
|
| | | {
|
| | | return MathUtility.GetBitValue(state, (ushort)hole);
|