More intelligent suicide units / Bugfixes

This commit is contained in:
Anuken
2020-06-06 11:36:14 -04:00
parent 1e3a190d5a
commit 0f76aeba05
9 changed files with 144 additions and 54 deletions
@@ -30,7 +30,7 @@ public class LiquidBulletType extends BulletType{
hitEffect = Fx.hitLiquid;
smokeEffect = Fx.none;
shootEffect = Fx.none;
drag = 0.009f;
drag = 0.001f;
knockback = 0.55f;
}
@@ -61,7 +61,14 @@ public class LiquidBulletType extends BulletType{
public void draw(Bulletc b){
Draw.color(liquid.color, Color.white, b.fout() / 100f);
Fill.circle(b.x(), b.y(), 0.5f + b.fout() * 2.5f);
Fill.circle(b.x(), b.y(), 3f);
}
@Override
public void despawned(Bulletc b){
super.despawned(b);
hit(b, b.x(), b.y());
}
@Override