mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-01-25 05:51:47 -08:00
Campaign balance
This commit is contained in:
parent
b595f7b175
commit
ad71007a0a
2 changed files with 3 additions and 3 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue