mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-01-21 03:51:41 -08:00
8 votes
This commit is contained in:
parent
144793592b
commit
65a2cd89f3
3 changed files with 3 additions and 3 deletions
|
|
@ -32,7 +32,7 @@ public class ContinuousBulletType extends BulletType{
|
|||
@Override
|
||||
public float continuousDamage(){
|
||||
if(!continuous) return -1f;
|
||||
return 60f / damageInterval;
|
||||
return damage / damageInterval * 60f;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
|
|
@ -47,7 +47,7 @@ public class PointLaserBulletType extends BulletType{
|
|||
|
||||
@Override
|
||||
public float continuousDamage(){
|
||||
return 60f / damageInterval;
|
||||
return damage / damageInterval * 60f;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
|
|
@ -641,7 +641,7 @@ public class StatValues{
|
|||
|
||||
if(type.damage > 0 && (type.collides || type.splashDamage <= 0)){
|
||||
bt.add(Core.bundle.format("bullet.damage", type.damage) + (type.continuousDamage() > 0 ?
|
||||
"[lightgray] ~ [stat]" + Strings.autoFixed(type.continuousDamage(), 0) + "[lightgray] " + StatUnit.perSecond.localized() : ""));
|
||||
"[lightgray] ~ [stat]" + Core.bundle.format("bullet.damage", type.continuousDamage()) + StatUnit.perSecond.localized() : ""));
|
||||
}
|
||||
|
||||
if(type.buildingDamageMultiplier != 1){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue