public void CalculateInflation(int basis, int inflation)
{
this._expList = new long[this._actor.final_level + 1];
double powI = 2.4d + inflation / 100.0d;
double n;
for (int i = 2; i <= this._actor.final_level; i++)
{
n = basis * (Math.Pow(i + 3, powI) / Math.Pow(5, powI));
this._expList[i] = this._expList[i - 1] + Convert.ToInt64(n);
}
var digits = this._expList[this._expList.Length - 1].ToString(CultureInfo.InvariantCulture).Length + 5;
this._fStr = @"{0," + digits.ToString(CultureInfo.InvariantCulture) + @"}";
}