Add turret ammo capacity to the in-game help (#9777)

* Add turret ammo capacity to the in-game help

* Rename max shots to ammo capacity

* Rename ammo multipier to ammo per item
This commit is contained in:
Andrey Andreyevich Bienkowski
2024-05-03 14:11:23 -04:00
committed by GitHub
parent 143db64710
commit 08429b5492
5 changed files with 7 additions and 1 deletions
@@ -49,6 +49,7 @@ public class ItemTurret extends Turret{
stats.remove(Stat.itemCapacity);
stats.add(Stat.ammo, StatValues.ammo(ammoTypes));
stats.add(Stat.ammoCapacity, maxAmmo / ammoPerShot, StatUnit.shots);
}
@Override
+1
View File
@@ -86,6 +86,7 @@ public class Stat implements Comparable<Stat>{
targetsGround = new Stat("targetsGround", StatCat.function),
damage = new Stat("damage", StatCat.function),
ammo = new Stat("ammo", StatCat.function),
ammoCapacity = new Stat("ammoCapacity", StatCat.function),
ammoUse = new Stat("ammoUse", StatCat.function),
shieldHealth = new Stat("shieldHealth", StatCat.function),
cooldownTime = new Stat("cooldownTime", StatCat.function),
@@ -24,6 +24,7 @@ public class StatUnit{
degrees = new StatUnit("degrees"),
seconds = new StatUnit("seconds"),
minutes = new StatUnit("minutes"),
shots = new StatUnit("shots"),
perSecond = new StatUnit("perSecond", false),
perMinute = new StatUnit("perMinute", false),
perShot = new StatUnit("perShot", false),