Many various campaign mechanic changes

This commit is contained in:
Anuken
2020-07-07 21:13:03 -04:00
parent b95206cf87
commit 26e70fa585
11 changed files with 220 additions and 31 deletions

View File

@@ -288,6 +288,16 @@ public class TODOPlanetGenerator extends PlanetGenerator{
}
state.rules.waves = true;
float difficulty = sector.baseCoverage;
//scale up the spawning base on difficulty (this is just for testing)
for(SpawnGroup group : state.rules.spawns){
group.unitAmount *= difficulty;
if(group.unitScaling != SpawnGroup.never){
group.unitScaling *= difficulty;
}
}
}
@Override