Campaign balancing
This commit is contained in:
@@ -382,7 +382,7 @@ public class SectorDamage{
|
||||
for(Tile tile : tiles){
|
||||
if((tile.block() instanceof CoreBlock && tile.team() == state.rules.waveTeam) || tile.overlay() == Blocks.spawn){
|
||||
frontier.add(tile);
|
||||
values[tile.x][tile.y] = fraction * 26;
|
||||
values[tile.x][tile.y] = fraction * 24;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -3,6 +3,8 @@ package mindustry.maps.planet;
|
||||
import arc.graphics.*;
|
||||
import arc.math.*;
|
||||
import arc.math.geom.*;
|
||||
import mindustry.content.*;
|
||||
import mindustry.game.*;
|
||||
import mindustry.maps.generators.*;
|
||||
|
||||
public class TantrosPlanetGenerator extends PlanetGenerator{
|
||||
@@ -18,4 +20,13 @@ public class TantrosPlanetGenerator extends PlanetGenerator{
|
||||
float depth = (float)noise.octaveNoise3D(2, 0.56, 1.7f, position.x, position.y, position.z) / 2f;
|
||||
return c1.write(out).lerp(c2, Mathf.clamp(Mathf.round(depth, 0.15f))).a(0.6f);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void generate(){
|
||||
pass((x, y) -> {
|
||||
floor = Blocks.deepwater;
|
||||
});
|
||||
|
||||
Schematics.placeLaunchLoadout(width / 2, height / 2);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user