| | |
| | | Dictionary<int, AutoHammerCost> autoHammerCostDict = new Dictionary<int, AutoHammerCost>();
|
| | | Dictionary<int, List<int>> godWeaponStageDict = new Dictionary<int, List<int>>();
|
| | | Dictionary<int, int> exteriorPowerDict = new Dictionary<int, int>();
|
| | | Dictionary<int, int> godWeaponSkillEffect = new Dictionary<int, int>();
|
| | | int[] autoHammerExpArea { get; set; }
|
| | | int[] autoHammerCount { get; set; }
|
| | |
|
| | |
| | | var type = int.Parse(key);
|
| | | var power = int.Parse(json[key].ToString());
|
| | | exteriorPowerDict.Add(type, power);
|
| | | }
|
| | |
|
| | | funcConfig = Config.Instance.Get<FuncConfigConfig>("GodWeaponSkillEffect");
|
| | | if (funcConfig != null)
|
| | | {
|
| | | json = LitJson.JsonMapper.ToObject(funcConfig.Numerical1);
|
| | | foreach (var key in json.Keys)
|
| | | {
|
| | | var skillId = int.Parse(key);
|
| | | if (!godWeaponSkillEffect.ContainsKey(skillId))
|
| | | {
|
| | | godWeaponSkillEffect.Add(skillId, int.Parse(json[key].ToString()));
|
| | | }
|
| | | }
|
| | | }
|
| | | }
|
| | |
|
| | |
| | | return exteriorPowerDict.TryGetValue(type, out power);
|
| | | }
|
| | |
|
| | | public bool TryGetGodWeaponSkillEffect(int skillId, out int effect)
|
| | | {
|
| | | return godWeaponSkillEffect.TryGetValue(skillId, out effect);
|
| | | }
|
| | |
|
| | | }
|
| | |
|
| | | public class GodWeaponInfo
|