More campaign map progress

This commit is contained in:
Anuken
2021-09-10 17:07:06 -04:00
parent b8fa15e546
commit caa34c959e
7 changed files with 17 additions and 8 deletions

View File

@@ -71,9 +71,7 @@ public class SectorPresets implements ContentList{
}};
navalFortress = new SectorPreset("navalFortress", serpulo, 216){{
//TODO AI or not?
useAI = true;
difficulty = 8;
difficulty = 9;
}};
fungalPass = new SectorPreset("fungalPass", serpulo, 21){{

View File

@@ -425,7 +425,7 @@ public class TechTree implements ContentList{
node(oxynoe, Seq.with(new SectorComplete(coastline)), () -> {
node(cyerce, () -> {
node(aegires, () -> {
node(navanax, () -> {
node(navanax, Seq.with(new SectorComplete(navalFortress)), () -> {
});
});
@@ -539,7 +539,16 @@ public class TechTree implements ContentList{
new Research(navalFactory),
new Research(payloadConveyor)
), () -> {
//TODO naval fortress
node(navalFortress, Seq.with(
new SectorComplete(coastline),
new SectorComplete(extractionOutpost),
new Research(oxynoe),
new Research(minke),
new Research(cyclone),
new Research(ripple)
), () -> {
});
});
});
});

View File

@@ -350,8 +350,8 @@ public class Waves{
step += (int)(rand.random(15, 30) * Mathf.lerp(1f, 0.5f, difficulty));
}
int bossWave = (int)(rand.random(50, 70) * Mathf.lerp(1f, 0.7f, difficulty));
int bossSpacing = (int)(rand.random(25, 40) * Mathf.lerp(1f, 0.6f, difficulty));
int bossWave = (int)(rand.random(50, 70) * Mathf.lerp(1f, 0.5f, difficulty));
int bossSpacing = (int)(rand.random(25, 40) * Mathf.lerp(1f, 0.5f, difficulty));
int bossTier = difficulty < 0.6 ? 3 : 4;

View File

@@ -517,7 +517,7 @@ public class SerpuloPlanetGenerator extends PlanetGenerator{
float waveTimeDec = 0.4f;
state.rules.waveSpacing = Mathf.lerp(60 * 65 * 2, 60f * 60f * 1f, Math.max(difficulty - waveTimeDec, 0f) / 0.8f);
state.rules.waveSpacing = Mathf.lerp(60 * 65 * 2, 60f * 60f * 1f, Math.max(difficulty - waveTimeDec, 0f));
state.rules.waves = sector.info.waves = true;
state.rules.enemyCoreBuildRadius = 600f;