Removed MendProjector phase coloration
This commit is contained in:
@@ -1532,7 +1532,7 @@ public class Fx{
|
||||
|
||||
rand.setSeed(e.id);
|
||||
for(int i = 0; i < 2; i++){
|
||||
v.set(e.finpow() * 9f * rand.nextFloat(), 0).rotate(rand.random(360f)).add(e.x, e.y);
|
||||
v.trns(rand.random(360f), rand.random(e.finpow() * 9f)).add(e.x, e.y);
|
||||
Fill.circle(v.x, v.y, rand.random(1.4f, 2.4f));
|
||||
}
|
||||
}).layer(Layer.bullet - 1f),
|
||||
|
||||
@@ -18,7 +18,7 @@ import static mindustry.Vars.*;
|
||||
public class MendProjector extends Block{
|
||||
public final int timerUse = timers++;
|
||||
public Color baseColor = Color.valueOf("84f491");
|
||||
public Color phaseColor = Color.valueOf("ffd59e");
|
||||
public Color phaseColor = baseColor;
|
||||
public @Load("@-top") TextureRegion topRegion;
|
||||
public float reload = 250f;
|
||||
public float range = 60f;
|
||||
@@ -91,7 +91,7 @@ public class MendProjector extends Block{
|
||||
float realRange = range + phaseHeat * phaseRangeBoost;
|
||||
charge = 0f;
|
||||
|
||||
indexer.eachBlock(this, realRange, other -> other.damaged(), other -> {
|
||||
indexer.eachBlock(this, realRange, Building::damaged, other -> {
|
||||
other.heal(other.maxHealth() * (healPercent + phaseHeat * phaseBoost) / 100f * efficiency());
|
||||
Fx.healBlockFull.at(other.x, other.y, other.block.size, baseColor);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user