Balancing / Fixed editor/map bugs
This commit is contained in:
@@ -245,8 +245,8 @@ public class TurretBlocks extends BlockList implements ContentList{
|
|||||||
powerCapacity = 120f;
|
powerCapacity = 120f;
|
||||||
range = 160f;
|
range = 160f;
|
||||||
reload = 200f;
|
reload = 200f;
|
||||||
firingMoveFract = 0.25f;
|
firingMoveFract = 0.1f;
|
||||||
shootDuration = 180f;
|
shootDuration = 220f;
|
||||||
|
|
||||||
health = 165 * size * size;
|
health = 165 * size * size;
|
||||||
}};
|
}};
|
||||||
|
|||||||
@@ -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 tmpColor = new Color();
|
||||||
Color[] colors = {Color.valueOf("ec745855"), Color.valueOf("ec7458aa"), Color.valueOf("ff9c5a"), Color.WHITE};
|
Color[] colors = {Color.valueOf("ec745855"), Color.valueOf("ec7458aa"), Color.valueOf("ff9c5a"), Color.WHITE};
|
||||||
float[] tscales = {1f, 0.7f, 0.5f, 0.2f};
|
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){
|
public void hit(Bullet b, float hitx, float hity){
|
||||||
Effects.effect(hiteffect, colors[2], hitx, hity);
|
Effects.effect(hiteffect, colors[2], hitx, hity);
|
||||||
if(Mathf.chance(0.4)){
|
if(Mathf.chance(0.4)){
|
||||||
Fire.create(world.tileWorld(hitx, hity));
|
Fire.create(world.tileWorld(hitx+Mathf.range(5f), hity+Mathf.range(5f)));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -572,10 +572,6 @@ public class MapEditorDialog extends Dialog implements Disposable{
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(Recipe.getByResult(block) != null){
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
|
|
||||||
if(Recipe.getByResult(block) != null && Recipe.getByResult(block).desktopOnly && mobile){
|
if(Recipe.getByResult(block) != null && Recipe.getByResult(block).desktopOnly && mobile){
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -99,7 +99,7 @@ public class WorldGenerator{
|
|||||||
int pos = multiblocks.get(i);
|
int pos = multiblocks.get(i);
|
||||||
|
|
||||||
int x = pos % tiles.length;
|
int x = pos % tiles.length;
|
||||||
int y = pos / tiles[0].length;
|
int y = pos / tiles.length;
|
||||||
|
|
||||||
Block result = tiles[x][y].block();
|
Block result = tiles[x][y].block();
|
||||||
Team team = tiles[x][y].getTeam();
|
Team team = tiles[x][y].getTeam();
|
||||||
|
|||||||
Reference in New Issue
Block a user