Remove testing changes

This commit is contained in:
JasonP01
2026-02-15 06:56:06 +02:00
parent 394f6b8170
commit 6e43281ee4
2 changed files with 1 additions and 8 deletions
-3
View File
@@ -3678,7 +3678,6 @@ public class Blocks{
despawnEffect = Fx.blastExplosion;
status = StatusEffects.blasted;
statusChance = 3f;
hitColor = backColor = trailColor = Pal.blastAmmoBack;
frontColor = Pal.blastAmmoFront;
@@ -3696,7 +3695,6 @@ public class Blocks{
ammoMultiplier = 5f;
hitEffect = Fx.blastExplosion;
status = StatusEffects.burning;
statusChance = 0.4f;
}},
Items.surgeAlloy, new MissileBulletType(3.7f, 18){{
width = 8f;
@@ -3710,7 +3708,6 @@ public class Blocks{
lightningDamage = 10;
lightning = 2;
lightningLength = 10;
statusChance = 0.01f;
hitColor = backColor = trailColor = Pal.surgeAmmoBack;
frontColor = Pal.surgeAmmoFront;
@@ -39,11 +39,7 @@ abstract class StatusComp implements Posc{
// Don't apply if the chance fails
// TODO: Multiple applications if chance > 1f ?
if(!Mathf.chance(chance)) {
Log.info("Status effect @ failed to apply", effect.localizedName);
return;
}
Log.info("StatusEffect @ applied successfully, chance was: @", effect.localizedName, chance);
if(!Mathf.chance(chance)) return;
//unlock status effects regardless of whether they were applied to friendly units
if(state.isCampaign()){