Sector damage calculation fix

This commit is contained in:
Anuken
2020-10-31 13:42:43 -04:00
parent 4d34f16fcd
commit 9c54fcee2e
3 changed files with 9 additions and 1 deletions

View File

@@ -26,6 +26,11 @@ public class LightningBulletType extends BulletType{
return (lightningLength + lightningLengthRand/2f) * 6f;
}
@Override
public float estimateDPS(){
return super.estimateDPS() * Math.max(lightningLength / 2f, 1);
}
@Override
public void draw(Bullet b){
}