From e34637a02f8bc7c03ac4319b8699beb07f6e1a3d Mon Sep 17 00:00:00 2001 From: Mythril382 <77225817+Mythril382@users.noreply.github.com> Date: Sun, 3 Jul 2022 05:36:41 +0800 Subject: [PATCH] Display Bullet Status Duration (#7109) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * whad i have no idea if this works and have no idea if the formatting is right 💀 * int int * i am an idiot yes i am an idiot --- core/src/mindustry/world/meta/StatValues.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/mindustry/world/meta/StatValues.java b/core/src/mindustry/world/meta/StatValues.java index 7f1b2d1746..802417ae00 100644 --- a/core/src/mindustry/world/meta/StatValues.java +++ b/core/src/mindustry/world/meta/StatValues.java @@ -390,7 +390,7 @@ public class StatValues{ } if(type.status != StatusEffects.none){ - sep(bt, (type.status.minfo.mod == null ? type.status.emoji() : "") + "[stat]" + type.status.localizedName); + sep(bt, (type.status.minfo.mod == null ? type.status.emoji() : "") + "[stat]" + type.status.localizedName + "[] ~ [stat]" + ((int)(type.statusDuration / 60f)) + "[] " + Core.bundle.get("unit.seconds")); } if(type.fragBullet != null){