Balancing

This commit is contained in:
Anuken 2019-02-05 00:22:55 -05:00
parent fe765e5a5b
commit 38b3ad07b7
10 changed files with 14 additions and 13 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -1052,7 +1052,7 @@ public class Blocks implements ContentList{
range = 90f;
shootCone = 15f;
ammoUseEffect = Fx.shellEjectSmall;
health = 110;
health = 150;
inaccuracy = 2f;
rotatespeed = 10f;
}};

View File

@ -21,7 +21,7 @@ public class Zones implements ContentList{
deployCost = ItemStack.with(Items.copper, 60);
startingItems = ItemStack.with(Items.copper, 50);
alwaysUnlocked = true;
conditionWave = 5;
conditionWave = 10;
launchPeriod = 5;
rules = () -> new Rules(){{
waves = true;
@ -63,14 +63,14 @@ public class Zones implements ContentList{
craters = new Zone("craters", new MapGenerator("craters", 1).dist(0)){{
deployCost = ItemStack.with(Items.copper, 200);
startingItems = ItemStack.with(Items.copper, 200);
conditionWave = 15;
conditionWave = 10;
itemRequirements = ItemStack.with(Items.copper, 2000);
zoneRequirements = new Zone[]{groundZero};
blockRequirements = new Block[]{Blocks.router};
rules = () -> new Rules(){{
waves = true;
waveTimer = true;
waveSpacing = 60 * 60;
waveSpacing = 60 * 60 * 1.5f;
spawns = Array.with(
new SpawnGroup(UnitTypes.dagger){{
unitScaling = 2;
@ -112,13 +112,13 @@ public class Zones implements ContentList{
.decor(new Decoration(Blocks.snow, Blocks.sporeCluster, 0.02))){{
deployCost = ItemStack.with(Items.copper, 500);
startingItems = ItemStack.with(Items.copper, 400);
conditionWave = 15;
conditionWave = 10;
zoneRequirements = new Zone[]{craters};
itemRequirements = ItemStack.with(Items.copper, 4000, Items.lead, 2000);
rules = () -> new Rules(){{
waves = true;
waveTimer = true;
waveSpacing = 60 * 60;
waveSpacing = 60 * 60 * 1.5f;
spawns = Array.with(
new SpawnGroup(UnitTypes.titan){{
unitScaling = 3;

View File

@ -329,7 +329,7 @@ public class NetServer implements ApplicationListener{
player.y = prevy;
//set interpolator target to *new* position so it moves toward it
player.getInterpolator().read(player.x, player.y, newx, newy, sent, rotation, baseRotation);
player.getInterpolator().read(player.x, player.y, newx, newy, rotation, baseRotation);
player.velocity().set(xVelocity, yVelocity); //only for visual calculation purposes, doesn't actually update the player
connection.lastRecievedClientSnapshot = snapshotID;

View File

@ -11,10 +11,7 @@ import io.anuke.arc.math.Mathf;
import io.anuke.arc.math.geom.Geometry;
import io.anuke.arc.math.geom.Rectangle;
import io.anuke.arc.math.geom.Vector2;
import io.anuke.arc.util.Align;
import io.anuke.arc.util.Interval;
import io.anuke.arc.util.Pack;
import io.anuke.arc.util.Time;
import io.anuke.arc.util.*;
import io.anuke.arc.util.pooling.Pools;
import io.anuke.mindustry.content.Fx;
import io.anuke.mindustry.content.Mechs;
@ -410,6 +407,7 @@ public class Player extends Unit implements BuilderTrait, ShooterTrait{
Draw.reset();
Pools.free(layout);
font.getData().setScale(1f);
font.setColor(Color.WHITE);
font.setUseIntegerPositions(ints);
}

View File

@ -44,6 +44,7 @@ public class NetworkIO{
stream.writeInt(player.id);
player.write(stream);
world.spawner.write(stream);
SaveIO.getSaveWriter().writeMap(stream);
stream.write(Team.all.length);
@ -105,6 +106,7 @@ public class NetworkIO{
world.beginMapLoad();
//map
world.spawner.read(stream);
SaveIO.getSaveWriter().readMap(stream);
world.setMap(new Map(map, 0, 0));

View File

@ -40,7 +40,7 @@ public class PausedDialog extends FloatingDialog{
cont.addButton("$back", this::hide).colspan(2).width(dw*2 + 20f);
cont.row();
cont.addButton("$database", ui.database::show);
cont.addButton("techtree", ui.tech::show);
cont.addButton("$settings", ui.settings::show);
if(!world.isZone()){

View File

@ -20,6 +20,7 @@ import io.anuke.mindustry.graphics.Palette;
import io.anuke.mindustry.graphics.Shaders;
import io.anuke.mindustry.net.Net;
import io.anuke.mindustry.type.Item;
import io.anuke.mindustry.type.ItemType;
import io.anuke.mindustry.world.Tile;
import io.anuke.mindustry.world.meta.BlockFlag;
@ -58,7 +59,7 @@ public class CoreBlock extends StorageBlock{
@Override
public int getMaximumAccepted(Tile tile, Item item){
return itemCapacity * state.teams.get(tile.getTeam()).cores.size;
return item.type == ItemType.material ? itemCapacity * state.teams.get(tile.getTeam()).cores.size : 0;
}
@Override