Campaign balance
This commit is contained in:
@@ -88,7 +88,7 @@ public class Vars implements Loadable{
|
|||||||
/** duration of time between turns in ticks */
|
/** duration of time between turns in ticks */
|
||||||
public static final float turnDuration = 2 * Time.toMinutes;
|
public static final float turnDuration = 2 * Time.toMinutes;
|
||||||
/** chance of an invasion per turn, 1 = 100% */
|
/** 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 */
|
/** how many turns have to pass before invasions start */
|
||||||
public static final int invasionGracePeriod = 20;
|
public static final int invasionGracePeriod = 20;
|
||||||
/** min armor fraction damage; e.g. 0.05 = at least 5% damage */
|
/** min armor fraction damage; e.g. 0.05 = at least 5% damage */
|
||||||
|
|||||||
@@ -76,7 +76,7 @@ public class SerpuloPlanetGenerator extends PlanetGenerator{
|
|||||||
float poles = Math.abs(tile.v.y);
|
float poles = Math.abs(tile.v.y);
|
||||||
float noise = Noise.snoise3(tile.v.x, tile.v.y, tile.v.z, 0.001f, 0.58f);
|
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;
|
any = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -87,7 +87,7 @@ public class SerpuloPlanetGenerator extends PlanetGenerator{
|
|||||||
//no sectors near start sector!
|
//no sectors near start sector!
|
||||||
if(
|
if(
|
||||||
osec.id == sector.planet.startSector || //near starting sector
|
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
|
(sector.preset != null && noise < 0.11) //near preset
|
||||||
){
|
){
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user