Fixed campaign idle boss spoofing

This commit is contained in:
Anuken
2020-12-03 10:05:52 -05:00
parent 6686584003
commit 9fa2691b02
7 changed files with 45 additions and 24 deletions

View File

@@ -49,7 +49,8 @@ public class ContinuousLaserBulletType extends BulletType{
@Override
public float estimateDPS(){
//assume firing duration is about 100 by default, may not be accurate there's no way of knowing in this method
return damage * 100f / 5f;
//assume it pierces 3 blocks/units
return damage * 100f / 5f * 3f;
}
@Override

View File

@@ -40,9 +40,10 @@ public class LaserBulletType extends BulletType{
this(1f);
}
//assume it pierces at least 3 blocks
@Override
public float estimateDPS(){
return super.estimateDPS() * 2f;
return super.estimateDPS() * 3f;
}
@Override