From 7befdb707ea7744be42f7ffaa43953b74b894d0d Mon Sep 17 00:00:00 2001 From: Ilya246 <57039557+Ilya246@users.noreply.github.com> Date: Fri, 4 Oct 2024 23:11:36 +0400 Subject: [PATCH] make shield field in database more clear (#10182) * make shield field in database more clear * max shield --- core/assets/bundles/bundle.properties | 3 ++- .../mindustry/entities/abilities/ShieldRegenFieldAbility.java | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/core/assets/bundles/bundle.properties b/core/assets/bundles/bundle.properties index d39528c634..2440e75579 100644 --- a/core/assets/bundles/bundle.properties +++ b/core/assets/bundles/bundle.properties @@ -1061,7 +1061,8 @@ ability.liquidexplode.description = Spills liquid on death ability.stat.firingrate = [stat]{0}/sec[lightgray] firing rate ability.stat.regen = [stat]{0}[lightgray] health/sec -ability.stat.shield = [stat]{0}[lightgray] shield +ability.stat.pulseregen = [stat]{0}[lightgray] health/pulse +ability.stat.shield = [stat]{0}[lightgray] max shield ability.stat.repairspeed = [stat]{0}/sec[lightgray] repair speed ability.stat.slurpheal = [stat]{0}[lightgray] health/liquid unit ability.stat.cooldown = [stat]{0} sec[lightgray] cooldown diff --git a/core/src/mindustry/entities/abilities/ShieldRegenFieldAbility.java b/core/src/mindustry/entities/abilities/ShieldRegenFieldAbility.java index 092222ec0d..fe7a3e68bb 100644 --- a/core/src/mindustry/entities/abilities/ShieldRegenFieldAbility.java +++ b/core/src/mindustry/entities/abilities/ShieldRegenFieldAbility.java @@ -34,6 +34,8 @@ public class ShieldRegenFieldAbility extends Ability{ t.row(); t.add(abilityStat("firingrate", Strings.autoFixed(60f / reload, 2))); t.row(); + t.add(abilityStat("pulseregen", Strings.autoFixed(amount, 2))); + t.row(); t.add(abilityStat("shield", Strings.autoFixed(max, 2))); }