More ammo types for titan/diffuse

This commit is contained in:
Anuken
2025-01-05 21:15:08 -05:00
parent f07d1505fc
commit 6c1952c674
2 changed files with 69 additions and 2 deletions

View File

@@ -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);
}
}
}