Disperse surge ammo
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
package mindustry.entities.bullet;
|
||||
|
||||
import arc.graphics.*;
|
||||
import arc.math.*;
|
||||
import mindustry.content.*;
|
||||
import mindustry.entities.*;
|
||||
@@ -8,8 +7,6 @@ import mindustry.gen.*;
|
||||
import mindustry.graphics.*;
|
||||
|
||||
public class LightningBulletType extends BulletType{
|
||||
public Color lightningColor = Pal.lancerLaser;
|
||||
public int lightningLength = 25, lightningLengthRand = 0;
|
||||
|
||||
public LightningBulletType(){
|
||||
damage = 1f;
|
||||
@@ -21,6 +18,9 @@ public class LightningBulletType extends BulletType{
|
||||
hittable = false;
|
||||
//for stats
|
||||
status = StatusEffects.shocked;
|
||||
lightningLength = 25;
|
||||
lightningLengthRand = 0;
|
||||
lightningColor = Pal.lancerLaser;
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -33,10 +33,6 @@ public class LightningBulletType extends BulletType{
|
||||
return super.estimateDPS() * Math.max(lightningLength / 10f, 1);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void draw(Bullet b){
|
||||
}
|
||||
|
||||
@Override
|
||||
public void init(Bullet b){
|
||||
super.init(b);
|
||||
|
||||
Reference in New Issue
Block a user