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:
@@ -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
|
||||
|
||||
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user