Liquid turret shoot FX fixes

This commit is contained in:
Anuken
2021-06-06 21:01:47 -04:00
parent bfc059769f
commit 7f01959438
2 changed files with 5 additions and 3 deletions

View File

@@ -1231,10 +1231,10 @@ public class Fx{
});
}),
shootLiquid = new Effect(40f, 80f, e -> {
color(e.color, Color.white, e.fout() / 6f + Mathf.randomSeedRange(e.id, 0.1f));
shootLiquid = new Effect(15f, 80f, e -> {
color(e.color);
randLenVectors(e.id, 6, e.finpow() * 60f, e.rotation, 11f, (x, y) -> {
randLenVectors(e.id, 2, e.finpow() * 15f, e.rotation, 11f, (x, y) -> {
Fill.circle(e.x + x, e.y + y, 0.5f + e.fout() * 2.5f);
});
}),

View File

@@ -27,6 +27,8 @@ public class LiquidTurret extends Turret{
hasLiquids = true;
loopSound = Sounds.spray;
shootSound = Sounds.none;
smokeEffect = Fx.none;
shootEffect = Fx.none;
outlinedIcon = 1;
}