Random assorted changes (#11338)
* shield stat changes * shield stats + leg crush stats + apply floormultiplier to comp
This commit is contained in:
@@ -83,6 +83,8 @@ public class Stat implements Comparable<Stat>{
|
||||
shots = new Stat("shots", StatCat.function),
|
||||
reload = new Stat("reload", StatCat.function),
|
||||
crushDamage = new Stat("crushDamage", StatCat.function),
|
||||
legSplashDamage = new Stat("legSplashDamage", StatCat.function),
|
||||
legSplashRange = new Stat("legSplashRange", StatCat.function),
|
||||
targetsAir = new Stat("targetsAir", StatCat.function),
|
||||
targetsGround = new Stat("targetsGround", StatCat.function),
|
||||
damage = new Stat("damage", StatCat.function),
|
||||
@@ -92,6 +94,7 @@ public class Stat implements Comparable<Stat>{
|
||||
ammoUse = new Stat("ammoUse", StatCat.function),
|
||||
shieldHealth = new Stat("shieldHealth", StatCat.function),
|
||||
cooldownTime = new Stat("cooldownTime", StatCat.function),
|
||||
regenerationRate = new Stat("regenerationRate", StatCat.function),
|
||||
moduleTier = new Stat("moduletier", StatCat.function),
|
||||
unitType = new Stat("unittype", StatCat.function),
|
||||
|
||||
|
||||
@@ -28,6 +28,7 @@ public class StatUnit{
|
||||
perSecond = new StatUnit("perSecond", false),
|
||||
perMinute = new StatUnit("perMinute", false),
|
||||
perShot = new StatUnit("perShot", false),
|
||||
perLeg = new StatUnit("perLeg"),
|
||||
timesSpeed = new StatUnit("timesSpeed", false),
|
||||
multiplier = new StatUnit("multiplier", false),
|
||||
percent = new StatUnit("percent", false),
|
||||
|
||||
@@ -509,7 +509,7 @@ public class StatValues{
|
||||
if(!filter.get(liquid)) continue;
|
||||
|
||||
c.table(Styles.grayPanel, b -> {
|
||||
b.image(liquid.uiIcon).size(40).pad(10f).left().scaling(Scaling.fit).with(i -> withTooltip(i, liquid, false));;
|
||||
b.image(liquid.uiIcon).size(40).pad(10f).left().scaling(Scaling.fit).with(i -> withTooltip(i, liquid, false));
|
||||
b.table(info -> {
|
||||
info.add(liquid.localizedName).left().row();
|
||||
info.add(Strings.autoFixed(amount * 60f, 2) + StatUnit.perSecond.localized()).left().color(Color.lightGray);
|
||||
|
||||
Reference in New Issue
Block a user