Unit gun tweaks

This commit is contained in:
Anuken
2019-02-05 19:05:41 -05:00
parent 20529d3ebc
commit 6217ae78e3
9 changed files with 1413 additions and 1422 deletions

View File

@@ -95,8 +95,9 @@ public class UnitTypes implements ContentList{
weapon = new Weapon("artillery"){{
length = 1f;
reload = 60f;
width = 10f;
roundrobin = true;
recoil = 5f;
recoil = 4f;
shake = 2f;
ejectEffect = Fx.shellEjectMedium;
bullet = Bullets.artilleryUnit;
@@ -120,7 +121,7 @@ public class UnitTypes implements ContentList{
ejectEffect = Fx.none;
bullet = Bullets.eruptorShot;
recoil = 1f;
width = 5f;
width = 7f;
}};
}};
@@ -135,7 +136,7 @@ public class UnitTypes implements ContentList{
weapon = new Weapon("chaos"){{
length = 8f;
reload = 50f;
width = 17.5f;
width = 17f;
roundrobin = true;
recoil = 3f;
shake = 2f;
@@ -156,14 +157,16 @@ public class UnitTypes implements ContentList{
rotatespeed = 0.06f;
health = 80000;
weapon = new Weapon("eradication"){{
length = 9f;
length = 13f;
reload = 30f;
width = 20f;
width = 22f;
roundrobin = true;
recoil = 4f;
recoil = 3f;
shake = 2f;
inaccuracy = 3f;
shots = 4;
shotDelay = 2;
spacing = 0f;
shotDelay = 3;
ejectEffect = Fx.shellEjectMedium;
bullet = Bullets.standardThoriumBig;
}};

View File

@@ -676,16 +676,6 @@ public class MobileInput extends InputHandler implements GestureListener{
return true;
}
@Override
public boolean touchDown(float x, float y, int pointer, KeyCode button){
return false;
}
@Override
public boolean fling(float velocityX, float velocityY, KeyCode button){
return false;
}
//endregion
class PlaceRequest{