Balancing / Fixed editor/map bugs

This commit is contained in:
Anuken 2018-09-15 11:10:07 -04:00
parent df6382a1ca
commit e284d9de8e
4 changed files with 5 additions and 9 deletions

View File

@ -245,8 +245,8 @@ public class TurretBlocks extends BlockList implements ContentList{
powerCapacity = 120f;
range = 160f;
reload = 200f;
firingMoveFract = 0.25f;
shootDuration = 180f;
firingMoveFract = 0.1f;
shootDuration = 220f;
health = 165 * size * size;
}};

View File

@ -158,7 +158,7 @@ public class TurretBullets extends BulletList implements ContentList{
}
};
meltdownLaser = new BulletType(0.001f, 20){
meltdownLaser = new BulletType(0.001f, 26){
Color tmpColor = new Color();
Color[] colors = {Color.valueOf("ec745855"), Color.valueOf("ec7458aa"), Color.valueOf("ff9c5a"), Color.WHITE};
float[] tscales = {1f, 0.7f, 0.5f, 0.2f};
@ -187,7 +187,7 @@ public class TurretBullets extends BulletList implements ContentList{
public void hit(Bullet b, float hitx, float hity){
Effects.effect(hiteffect, colors[2], hitx, hity);
if(Mathf.chance(0.4)){
Fire.create(world.tileWorld(hitx, hity));
Fire.create(world.tileWorld(hitx+Mathf.range(5f), hity+Mathf.range(5f)));
}
}

View File

@ -572,10 +572,6 @@ public class MapEditorDialog extends Dialog implements Disposable{
continue;
}
if(Recipe.getByResult(block) != null){
continue;
}
if(Recipe.getByResult(block) != null && Recipe.getByResult(block).desktopOnly && mobile){
continue;
}

View File

@ -99,7 +99,7 @@ public class WorldGenerator{
int pos = multiblocks.get(i);
int x = pos % tiles.length;
int y = pos / tiles[0].length;
int y = pos / tiles.length;
Block result = tiles[x][y].block();
Team team = tiles[x][y].getTeam();