Join GitHub today
VampGrowth: Rewrite calculation to avoid exponentiation #2
Initially, the calculation dealt with long-term values, so using the exponential -- e^(growthFactor * time) made sense. However, "Buffy culling factor" was then introduced, and the calculator was set up to calculate per day which means that the exponentiation is not just not necessary, it gives wrong values at the end.
This should be fixed; since the calculation iterates over every day anyways, we can just use direct addition per day (which is how the original exponential was created to begin with)