mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-02-11 11:17:11 +07:00
Reduced ridiculous wave spacing in campaign
This commit is contained in:
parent
ba1363895e
commit
af47e7662f
@ -293,11 +293,14 @@ public class SerpuloPlanetGenerator extends PlanetGenerator{
|
||||
|
||||
state.rules.waves = true;
|
||||
|
||||
//TODO better waves
|
||||
state.rules.spawns = defaultWaves.get();
|
||||
|
||||
//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;
|
||||
group.unitScaling /= difficulty;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user