Minor bugfixes & wave tweaks

This commit is contained in:
Anuken
2020-10-22 11:54:27 -04:00
parent a732237005
commit 46b2f4cccb
7 changed files with 34 additions and 20 deletions

View File

@@ -39,7 +39,7 @@ public class DefaultWaves{
unitScaling = 1.7f;
spacing = 2;
max = 4;
shieldScaling = 15f;
shieldScaling = 25f;
}},
new SpawnGroup(pulsar){{
@@ -62,7 +62,7 @@ public class DefaultWaves{
unitScaling = 1;
unitAmount = 4;
spacing = 2;
shieldScaling = 10f;
shieldScaling = 20f;
max = 14;
}},
@@ -79,7 +79,8 @@ public class DefaultWaves{
spacing = 3;
unitScaling = 1;
max = 10;
shieldScaling = 10f;
shieldScaling = 30f;
shields = 100;
effect = StatusEffects.overdrive;
}},
@@ -178,7 +179,7 @@ public class DefaultWaves{
unitAmount = 2;
unitScaling = 3;
spacing = 4;
shieldScaling = 20;
shieldScaling = 30;
}},
new SpawnGroup(atrax){{
@@ -186,7 +187,7 @@ public class DefaultWaves{
unitAmount = 4;
unitScaling = 1;
spacing = 3;
shieldScaling = 5f;
shieldScaling = 10f;
}},
new SpawnGroup(scepter){{
@@ -194,7 +195,7 @@ public class DefaultWaves{
unitAmount = 1;
unitScaling = 1;
spacing = 30;
shieldScaling = 10f;
shieldScaling = 30f;
}},
new SpawnGroup(reign){{
@@ -202,7 +203,7 @@ public class DefaultWaves{
unitAmount = 1;
unitScaling = 1;
spacing = 40;
shieldScaling = 20f;
shieldScaling = 30f;
}},
new SpawnGroup(antumbra){{
@@ -210,7 +211,7 @@ public class DefaultWaves{
unitAmount = 1;
unitScaling = 1;
spacing = 40;
shieldScaling = 20f;
shieldScaling = 30f;
}},
new SpawnGroup(vela){{
@@ -218,7 +219,7 @@ public class DefaultWaves{
unitAmount = 1;
unitScaling = 1;
spacing = 30;
shieldScaling = 20f;
shieldScaling = 30f;
}},
new SpawnGroup(corvus){{
@@ -236,7 +237,7 @@ public class DefaultWaves{
unitScaling = 3;
spacing = 4;
shields = 40f;
shieldScaling = 20f;
shieldScaling = 30f;
}},
new SpawnGroup(toxopid){{
@@ -252,12 +253,10 @@ public class DefaultWaves{
return spawns == null ? new Seq<>() : spawns;
}
//TODO move elsewhere
public static Seq<SpawnGroup> generate(float difficulty){
return generate(new Rand(), difficulty);
}
//TODO move elsewhere
public static Seq<SpawnGroup> generate(Rand rand, float difficulty){
UnitType[][] species = {
{dagger, mace, fortress, scepter, reign},