This commit is contained in:
Anuken
2020-10-12 10:06:34 -04:00
parent 66ecf96be2
commit 378e81cd90
5 changed files with 16 additions and 7 deletions

View File

@@ -339,6 +339,14 @@ public class DefaultWaves{
shieldScaling = shieldsPerWave;
}});
//shift back waves on higher difficulty for a harder start
int shift = Math.max((int)(difficulty * 15 - 5), 0);
for(SpawnGroup group : out){
group.begin -= shift;
group.end -= shift;
}
return out;
}
}