map_settings.enemy_evolution.destroy_factor question

Place to get help with not working mods / modding interface.
TheSAguy
Smart Inserter
Smart Inserter
Posts: 1456
Joined: Mon Jan 13, 2014 6:17 pm
Contact:

map_settings.enemy_evolution.destroy_factor question

Post by TheSAguy »

What is the formula to determine the Evolution increase for destroying a spwaner?

In 0.12 it was:

Code: Select all

game.evolution_factor = game.evolution_factor * destroy_factor * (1-game.evolution_factor)
I thought I read in the release notes of 0.13 that it's now:

Code: Select all

game.evolution_factor = game.evolution_factor * destroy_factor * (1-game.evolution_factor)^2
I tested the above and it does not appear to be correct.
Thanks.
Post Reply

Return to “Modding help”