mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-07-30 22:49:06 +07:00
Hid 0-damage stat to prevent confusion
This commit is contained in:
@ -32,7 +32,10 @@ public class AmmoListValue<T extends UnlockableContent> implements StatValue{
|
||||
table.add(t.localizedName()).padRight(10).left().top();
|
||||
table.table("underline", bt -> {
|
||||
bt.left().defaults().padRight(3).left();
|
||||
bt.add(Core.bundle.format("bullet.damage", type.damage));
|
||||
|
||||
if(type.damage > 0){
|
||||
bt.add(Core.bundle.format("bullet.damage", type.damage));
|
||||
}
|
||||
|
||||
if(type.splashDamage > 0){
|
||||
sep(bt, Core.bundle.format("bullet.splashdamage", (int)type.splashDamage, Strings.toFixed(type.splashDamageRadius / tilesize, 1)));
|
||||
|
Reference in New Issue
Block a user