Some visual tweaks

This commit is contained in:
Anuken
2022-01-09 19:08:35 -05:00
parent b31098ed87
commit feb1135bcc
11 changed files with 23 additions and 4 deletions

View File

@@ -106,6 +106,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);
});
}

View File

@@ -134,6 +134,7 @@ public class RegenProjector extends Block{
var build = world.build(entry.key);
if(build != null){
build.heal(entry.value);
build.recentlyHealed();
}
}
mendMap.clear();