fix renaming

todo: ensure it doesnt write the status chance twice
This commit is contained in:
JasonP01
2026-08-06 20:11:30 +02:00
parent 3b658e0fc5
commit 491e2d923b
@@ -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));