| | |
| | | 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>();
|
| | | Dictionary<int, int> singleHarmmerExp = new Dictionary<int, int>();
|
| | | int[] autoHammerExpArea { get; set; }
|
| | | int[] autoHammerCount { get; set; }
|
| | |
|
| | |
| | | {
|
| | | autoHammerExpArea = ConfigParse.GetMultipleStr<int>(autoHammerConfig.Numerical1);
|
| | | autoHammerCount = ConfigParse.GetMultipleStr<int>(autoHammerConfig.Numerical2);
|
| | | singleHarmmerExp = ConfigParse.GetDic<int, int>(autoHammerConfig.Numerical3);
|
| | | }
|
| | |
|
| | | var funcConfig = Config.Instance.Get<FuncConfigConfig>("GodMagicExp");
|
| | |
| | | index = i;
|
| | | break;
|
| | | }
|
| | | else
|
| | | {
|
| | | index++;
|
| | | }
|
| | | }
|
| | | if (index < autoHammerCount.Length)
|
| | | {
|
| | |
| | | {
|
| | | totalExp = moneyCount * autoHammerCost.exp;
|
| | | }
|
| | | else if (singleHarmmerExp.ContainsKey(type))
|
| | | {
|
| | | totalExp = moneyCount * singleHarmmerExp[type];
|
| | | }
|
| | | var itemId = items[index];
|
| | | var itemConfig = Config.Instance.Get<ItemConfig>(itemId);
|
| | | var expCount = Mathf.CeilToInt((float)totalExp / itemConfig.EffectValueA1);
|