mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-10-02 11:10:50 +03:00
Add range stats entry (#11874)
Co-authored-by: Nathan Bombardier <nathan.bombardier7@etu.univ-lorraine.fr>
This commit is contained in:
co-authored by
Nathan Bombardier
parent
d1443a034f
commit
dd1f009765
@@ -110,6 +110,7 @@ public class ForceProjector extends Block{
|
||||
if(consItems) stats.timePeriod = phaseUseTime;
|
||||
super.setStats();
|
||||
stats.add(Stat.shieldHealth, shieldHealth, StatUnit.none);
|
||||
stats.add(Stat.range, radius / tilesize, StatUnit.blocks);
|
||||
stats.add(Stat.regenerationRate, cooldownNormal * 60f, StatUnit.perSecond);
|
||||
stats.add(Stat.cooldownTime, (int) (shieldHealth / cooldownBrokenBase / 60f), StatUnit.seconds);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user