Unit tweaks

This commit is contained in:
Anuken
2020-07-11 13:20:23 -04:00
parent 064172e1f1
commit 6188250605
2 changed files with 9 additions and 7 deletions

View File

@@ -14,7 +14,7 @@ import static mindustry.Vars.*;
public class LiquidBulletType extends BulletType{
public @NonNull Liquid liquid;
public float puddleSize = 5f;
public float puddleSize = 6f;
public LiquidBulletType(@Nullable Liquid liquid){
super(3.5f, 0);
@@ -68,7 +68,8 @@ public class LiquidBulletType extends BulletType{
public void despawned(Bullet b){
super.despawned(b);
hit(b, b.x, b.y);
//don't create liquids when the projectile despawns
hitEffect.at(b.x, b.y, liquid.color);
}
@Override