Better heal FX / Lower wall priority

This commit is contained in:
Anuken
2022-04-11 14:01:00 -04:00
parent 12eddd131b
commit ea9e5ae632
11 changed files with 17 additions and 9 deletions

View File

@@ -95,7 +95,7 @@ public class MendProjector extends Block{
indexer.eachBlock(this, realRange, b -> b.damaged() && !b.isHealSuppressed(), other -> {
other.heal(other.maxHealth() * (healPercent + phaseHeat * phaseBoost) / 100f * efficiency);
other.recentlyHealed();
Fx.healBlockFull.at(other.x, other.y, other.block.size, baseColor);
Fx.healBlockFull.at(other.x, other.y, other.block.size, baseColor, other.block);
});
}
}

View File

@@ -37,6 +37,7 @@ public class Wall extends Block{
canOverdrive = false;
drawDisabled = false;
crushDamageMultiplier = 5f;
priority = TargetPriority.wall;
//it's a wall of course it's supported everywhere
envEnabled = Env.any;