New artillery turret bullet patterns
This commit is contained in:
@@ -8,7 +8,7 @@ import io.anuke.mindustry.game.ContentList;
|
||||
import io.anuke.mindustry.type.ContentType;
|
||||
|
||||
public class UnitTypes implements ContentList{
|
||||
public static UnitType drone, alphaDrone, dagger, interceptor, monsoon, titan, fabricator;
|
||||
public static UnitType drone, alphaDrone, dagger, interceptor, monsoon, titan, fortress, fabricator;
|
||||
|
||||
@Override
|
||||
public void load(){
|
||||
@@ -58,6 +58,15 @@ public class UnitTypes implements ContentList{
|
||||
health = 500;
|
||||
}};
|
||||
|
||||
fortress = new UnitType("fortress", Fortress.class, Fortress::new){{
|
||||
maxVelocity = 0.8f;
|
||||
speed = 0.18f;
|
||||
drag = 0.4f;
|
||||
range = 10f;
|
||||
weapon = Weapons.flamethrower;
|
||||
health = 500;
|
||||
}};
|
||||
|
||||
interceptor = new UnitType("interceptor", Interceptor.class, Interceptor::new){{
|
||||
speed = 0.3f;
|
||||
maxVelocity = 1.9f;
|
||||
|
||||
@@ -107,6 +107,8 @@ public class TurretBlocks extends BlockList implements ContentList{
|
||||
shootType = AmmoTypes.arc;
|
||||
reload = 30f;
|
||||
shootShake = 1f;
|
||||
powerUsed = 5f;
|
||||
powerCapacity = 30f;
|
||||
range = 60f;
|
||||
shootEffect = ShootFx.lightningShoot;
|
||||
heatColor = Color.RED;
|
||||
|
||||
@@ -247,7 +247,7 @@ public class TurretBullets extends BulletList implements ContentList{
|
||||
}
|
||||
};
|
||||
|
||||
arc = new BulletType(0.001f, 11){
|
||||
arc = new BulletType(0.001f, 7){
|
||||
{
|
||||
lifetime = 1;
|
||||
despawneffect = Fx.none;
|
||||
|
||||
Reference in New Issue
Block a user