Any math wizards out there?
Posted: Fri Aug 25, 2017 7:34 pm
I'm trying to figure out a formula to use to get the TOTAL pollution produced at any given time.
We can get the current evolution factor, and we can get the total game time, and we can (let,s just say for now).... ignore how many enemies bases have been destroyed. (assume zero for my purposes). So this function would be:
pollution_produced = f(time_played, current_evolution_level)
The tricky part is that on each tick the formula used by the game to increment evolution uses (1-current_evolution) as a variable. So it's some kind of exponential decay formula I'd guess.....
Alternatively, if anyone knows of an api call that can just tell me total pollution produced, that'd work too.
We can get the current evolution factor, and we can get the total game time, and we can (let,s just say for now).... ignore how many enemies bases have been destroyed. (assume zero for my purposes). So this function would be:
pollution_produced = f(time_played, current_evolution_level)
The tricky part is that on each tick the formula used by the game to increment evolution uses (1-current_evolution) as a variable. So it's some kind of exponential decay formula I'd guess.....
Alternatively, if anyone knows of an api call that can just tell me total pollution produced, that'd work too.