Campaign balance

This commit is contained in:
Anuken 2020-11-22 17:20:20 -05:00
parent b595f7b175
commit ad71007a0a
2 changed files with 3 additions and 3 deletions

View file

@ -88,7 +88,7 @@ public class Vars implements Loadable{
/** duration of time between turns in ticks */
public static final float turnDuration = 2 * Time.toMinutes;
/** chance of an invasion per turn, 1 = 100% */
public static final float baseInvasionChance = 1f / 45f;
public static final float baseInvasionChance = 1f / 50f;
/** how many turns have to pass before invasions start */
public static final int invasionGracePeriod = 20;
/** min armor fraction damage; e.g. 0.05 = at least 5% damage */

View file

@ -76,7 +76,7 @@ public class SerpuloPlanetGenerator extends PlanetGenerator{
float poles = Math.abs(tile.v.y);
float noise = Noise.snoise3(tile.v.x, tile.v.y, tile.v.z, 0.001f, 0.58f);
if(noise + poles/7 > 0.12 && poles > 0.23){
if(noise + poles/7.1 > 0.12 && poles > 0.23){
any = true;
}
@ -87,7 +87,7 @@ public class SerpuloPlanetGenerator extends PlanetGenerator{
//no sectors near start sector!
if(
osec.id == sector.planet.startSector || //near starting sector
osec.generateEnemyBase && poles < 0.84 || //near other base
osec.generateEnemyBase && poles < 0.85 || //near other base
(sector.preset != null && noise < 0.11) //near preset
){
return;