| | |
| | |
|
| | | private Dictionary<int, int[]> godWeaponLevelUpCost = new Dictionary<int, int[]>();
|
| | | public List<int> godWeaponTypes { get; private set; }
|
| | | public Dictionary<int, int> godWeaponBoxDict { get; private set; } //key 神兵石礼包 value 神兵类型
|
| | | public List<int> godWeaponEffectTypes { get; private set; }
|
| | | public Dictionary<int, string> godWeaponIcons { get; private set; }
|
| | | public Dictionary<int, Dictionary<int, int>> godWeaponSkillDict = new Dictionary<int, Dictionary<int, int>>();
|
| | |
| | | public int audioLength { get; private set; }
|
| | | void ParseConfig()
|
| | | {
|
| | | var godWeaponBox = Config.Instance.Get<FuncConfigConfig>("GodWeaponBox");
|
| | | godWeaponBoxDict = ConfigParse.GetDic<int, int>(godWeaponBox.Numerical1);
|
| | |
|
| | | godWeaponTypes = GodWeaponConfig.GetGodWeaponType();
|
| | | for (int i = 0; i < godWeaponTypes.Count; i++)
|
| | | {
|
| | |
| | | return true;
|
| | | }
|
| | | }
|
| | |
|
| | | if(godWeaponBoxDict.ContainsKey(itemId))
|
| | | {
|
| | | type = godWeaponBoxDict[itemId];
|
| | | return true;
|
| | | }
|
| | | return false;
|
| | | }
|
| | |
|