mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-10-01 18:50:27 +03:00
revert testing values, and fix stat render
This commit is contained in:
@@ -3666,9 +3666,6 @@ public class Blocks{
|
||||
scaledHealth = 160;
|
||||
rotateSpeed = 12;
|
||||
|
||||
status = StatusEffects.invincible;
|
||||
statusChance = 0.01f;
|
||||
|
||||
consumePower(3.3f);
|
||||
}};
|
||||
|
||||
@@ -3686,7 +3683,6 @@ public class Blocks{
|
||||
despawnEffect = Fx.blastExplosion;
|
||||
|
||||
status = StatusEffects.blasted;
|
||||
statusChance = 0.000001f;
|
||||
|
||||
hitColor = backColor = trailColor = Pal.blastAmmoBack;
|
||||
frontColor = Pal.blastAmmoFront;
|
||||
@@ -3704,7 +3700,6 @@ public class Blocks{
|
||||
ammoMultiplier = 5f;
|
||||
hitEffect = Fx.blastExplosion;
|
||||
status = StatusEffects.burning;
|
||||
statusChance = 0.234f;
|
||||
}},
|
||||
Items.surgeAlloy, new MissileBulletType(3.7f, 18){{
|
||||
width = 8f;
|
||||
@@ -3718,9 +3713,6 @@ public class Blocks{
|
||||
lightningDamage = 10;
|
||||
lightning = 2;
|
||||
lightningLength = 10;
|
||||
status = StatusEffects.freezing;
|
||||
lightningStatusChance = 0.2f;
|
||||
statusChance = 0.8f;
|
||||
|
||||
hitColor = backColor = trailColor = Pal.surgeAmmoBack;
|
||||
frontColor = Pal.surgeAmmoFront;
|
||||
|
||||
@@ -60,7 +60,7 @@ public class TractorBeamTurret extends BaseTurret{
|
||||
stats.add(Stat.targetsAir, targetAir);
|
||||
stats.add(Stat.targetsGround, targetGround);
|
||||
if(damage > 0) stats.add(Stat.damage, damage * 60f, StatUnit.perSecond);
|
||||
if(status != StatusEffects.none && Mathf.chance(statusChance)){
|
||||
if(status != StatusEffects.none && statusChance > 0f){
|
||||
stats.add(Stat.status, StatValues.statusText(status, statusDuration, statusChance));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -76,7 +76,6 @@ public class Stat implements Comparable<Stat>{
|
||||
|
||||
weapons = new Stat("weapons", StatCat.function),
|
||||
bullet = new Stat("bullet", StatCat.function),
|
||||
status = new Stat("status", StatCat.function),
|
||||
|
||||
speedIncrease = new Stat("speedIncrease", StatCat.function),
|
||||
repairTime = new Stat("repairTime", StatCat.function),
|
||||
@@ -91,6 +90,7 @@ public class Stat implements Comparable<Stat>{
|
||||
targetsAir = new Stat("targetsAir", StatCat.function),
|
||||
targetsGround = new Stat("targetsGround", StatCat.function),
|
||||
damage = new Stat("damage", StatCat.function),
|
||||
status = new Stat("status", StatCat.function),
|
||||
frequency = new Stat("frequency", StatCat.function),
|
||||
ammo = new Stat("ammo", StatCat.function),
|
||||
ammoCapacity = new Stat("ammoCapacity", StatCat.function),
|
||||
|
||||
Reference in New Issue
Block a user