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:
@@ -992,6 +992,7 @@ stat.abilities = Abilities
|
|||||||
stat.canboost = Can Boost
|
stat.canboost = Can Boost
|
||||||
stat.flying = Flying
|
stat.flying = Flying
|
||||||
stat.ammouse = Ammo Use
|
stat.ammouse = Ammo Use
|
||||||
|
stat.ammocapacity = Ammo Capacity
|
||||||
stat.damagemultiplier = Damage Multiplier
|
stat.damagemultiplier = Damage Multiplier
|
||||||
stat.healthmultiplier = Health Multiplier
|
stat.healthmultiplier = Health Multiplier
|
||||||
stat.speedmultiplier = Speed Multiplier
|
stat.speedmultiplier = Speed Multiplier
|
||||||
@@ -1093,7 +1094,7 @@ bullet.pierce = [stat]{0}x[lightgray] pierce
|
|||||||
bullet.infinitepierce = [stat]pierce
|
bullet.infinitepierce = [stat]pierce
|
||||||
bullet.healpercent = [stat]{0}%[lightgray] repair
|
bullet.healpercent = [stat]{0}%[lightgray] repair
|
||||||
bullet.healamount = [stat]{0}[lightgray] direct repair
|
bullet.healamount = [stat]{0}[lightgray] direct repair
|
||||||
bullet.multiplier = [stat]{0}x[lightgray] ammo multiplier
|
bullet.multiplier = [stat]{0}[lightgray] ammo/item
|
||||||
bullet.reload = [stat]{0}%[lightgray] fire rate
|
bullet.reload = [stat]{0}%[lightgray] fire rate
|
||||||
bullet.range = [stat]{0}[lightgray] tiles range
|
bullet.range = [stat]{0}[lightgray] tiles range
|
||||||
|
|
||||||
@@ -1118,6 +1119,7 @@ unit.items = items
|
|||||||
unit.thousands = k
|
unit.thousands = k
|
||||||
unit.millions = mil
|
unit.millions = mil
|
||||||
unit.billions = b
|
unit.billions = b
|
||||||
|
unit.shots = shots
|
||||||
unit.pershot = /shot
|
unit.pershot = /shot
|
||||||
category.purpose = Purpose
|
category.purpose = Purpose
|
||||||
category.general = General
|
category.general = General
|
||||||
|
|||||||
@@ -165,3 +165,4 @@ OpalSoPL
|
|||||||
BalaM314
|
BalaM314
|
||||||
Redstonneur1256
|
Redstonneur1256
|
||||||
ApsZoldat
|
ApsZoldat
|
||||||
|
hexagon-recursion
|
||||||
|
|||||||
@@ -49,6 +49,7 @@ public class ItemTurret extends Turret{
|
|||||||
|
|
||||||
stats.remove(Stat.itemCapacity);
|
stats.remove(Stat.itemCapacity);
|
||||||
stats.add(Stat.ammo, StatValues.ammo(ammoTypes));
|
stats.add(Stat.ammo, StatValues.ammo(ammoTypes));
|
||||||
|
stats.add(Stat.ammoCapacity, maxAmmo / ammoPerShot, StatUnit.shots);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
@@ -86,6 +86,7 @@ public class Stat implements Comparable<Stat>{
|
|||||||
targetsGround = new Stat("targetsGround", StatCat.function),
|
targetsGround = new Stat("targetsGround", StatCat.function),
|
||||||
damage = new Stat("damage", StatCat.function),
|
damage = new Stat("damage", StatCat.function),
|
||||||
ammo = new Stat("ammo", StatCat.function),
|
ammo = new Stat("ammo", StatCat.function),
|
||||||
|
ammoCapacity = new Stat("ammoCapacity", StatCat.function),
|
||||||
ammoUse = new Stat("ammoUse", StatCat.function),
|
ammoUse = new Stat("ammoUse", StatCat.function),
|
||||||
shieldHealth = new Stat("shieldHealth", StatCat.function),
|
shieldHealth = new Stat("shieldHealth", StatCat.function),
|
||||||
cooldownTime = new Stat("cooldownTime", StatCat.function),
|
cooldownTime = new Stat("cooldownTime", StatCat.function),
|
||||||
|
|||||||
@@ -24,6 +24,7 @@ public class StatUnit{
|
|||||||
degrees = new StatUnit("degrees"),
|
degrees = new StatUnit("degrees"),
|
||||||
seconds = new StatUnit("seconds"),
|
seconds = new StatUnit("seconds"),
|
||||||
minutes = new StatUnit("minutes"),
|
minutes = new StatUnit("minutes"),
|
||||||
|
shots = new StatUnit("shots"),
|
||||||
perSecond = new StatUnit("perSecond", false),
|
perSecond = new StatUnit("perSecond", false),
|
||||||
perMinute = new StatUnit("perMinute", false),
|
perMinute = new StatUnit("perMinute", false),
|
||||||
perShot = new StatUnit("perShot", false),
|
perShot = new StatUnit("perShot", false),
|
||||||
|
|||||||
Reference in New Issue
Block a user