Fixed campaign idle boss spoofing
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user