mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-02-21 03:58:05 +07:00
Balancing / Fixed editor/map bugs
This commit is contained in:
parent
df6382a1ca
commit
e284d9de8e
@ -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;
|
||||
}};
|
||||
|
@ -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)));
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
}
|
||||
|
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user