This commit is contained in:
Anuken
2024-07-26 23:29:28 -04:00
parent 3a1a06e57f
commit 0de1bec554
7 changed files with 32 additions and 10 deletions

View File

@@ -38,6 +38,12 @@ public class ContinuousTurret extends Turret{
public Seq<BulletEntry> bullets = new Seq<>();
public float lastLength = size * 4f;
@Override
public float estimateDps(){
if(!hasAmmo()) return 0f;
return shootType.damage * 60f / (shootType instanceof ContinuousBulletType c ? c.damageInterval : 5f);
}
@Override
protected void updateCooling(){
//TODO how does coolant work here, if at all?