More ammo types for titan/diffuse
This commit is contained in:
@@ -13,6 +13,7 @@ public class ArtilleryBulletType extends BasicBulletType{
|
||||
collides = false;
|
||||
collidesAir = false;
|
||||
scaleLife = true;
|
||||
trailRotation = false;
|
||||
hitShake = 1f;
|
||||
hitSound = Sounds.explosion;
|
||||
hitEffect = Fx.flakExplosion;
|
||||
@@ -52,7 +53,7 @@ public class ArtilleryBulletType extends BasicBulletType{
|
||||
super.update(b);
|
||||
|
||||
if(b.timer(0, (3 + b.fslope() * 2f) * trailMult)){
|
||||
trailEffect.at(b.x, b.y, b.fslope() * trailSize, backColor);
|
||||
trailEffect.at(b.x, b.y, trailRotation ? b.rotation() : b.fslope() * trailSize, backColor);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user