mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-10-02 11:10:50 +03:00
fix renaming
todo: ensure it doesnt write the status chance twice
This commit is contained in:
@@ -726,7 +726,7 @@ public class StatValues{
|
||||
sep(bt, Core.bundle.format("bullet.lightning", type.lightning, type.lightningDamage < 0 ? type.damage : type.lightningDamage));
|
||||
if(type.status != StatusEffects.none && type.lightningStatusChance > 0f){
|
||||
sep(bt,
|
||||
(type.statusChance < 1f ? Core.bundle.format("stat.chance", Strings.autoFixed(type.statusChance * 100f, 4)) : "") +
|
||||
(type.lightningStatusChance < 1f ? Core.bundle.format("stat.chance", Strings.autoFixed(type.lightningStatusChance * 100f, 4)) : "") +
|
||||
(type.status.hasEmoji() ? type.status.emoji() + " " : "") + "[stat]" + type.status.localizedName +
|
||||
(type.status.reactive ? "" : "[lightgray] ~ [stat]" + Strings.autoFixed(type.statusDuration / 60f, 1) + "[lightgray] " + Core.bundle.get("unit.seconds"))
|
||||
).with(c -> withTooltip(c, type.status));
|
||||
|
||||
Reference in New Issue
Block a user