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

@@ -1589,12 +1589,14 @@ public class Blocks{
requirements(Category.defense, with(Items.beryllium, 6));
health = 130 * wallHealthMultiplier;
armor = 2f;
buildCostMultiplier = 6.5f;
}};
berylliumWallLarge = new Wall("beryllium-wall-large"){{
requirements(Category.defense, ItemStack.mult(berylliumWall.requirements, 4));
health = 130 * wallHealthMultiplier * 4;
armor = 2f;
buildCostMultiplier = 5f;
size = 2;
}};
@@ -1602,12 +1604,14 @@ public class Blocks{
requirements(Category.defense, with(Items.tungsten, 6));
health = 180 * wallHealthMultiplier;
armor = 14f;
buildCostMultiplier = 6.5f;
}};
tungstenWallLarge = new Wall("tungsten-wall-large"){{
requirements(Category.defense, ItemStack.mult(tungstenWall.requirements, 4));
health = 180 * wallHealthMultiplier * 4;
armor = 14f;
buildCostMultiplier = 5f;
size = 2;
}};

View File

@@ -2192,9 +2192,11 @@ public class Fx{
}),
healBlockFull = new Effect(20, e -> {
color(e.color);
if(!(e.data instanceof Block block)) return;
mixcol(e.color, 1f);
alpha(e.fout());
Fill.square(e.x, e.y, e.rotation * tilesize / 2f);
Draw.rect(block.fullIcon, e.x, e.y);
}),
rotateBlock = new Effect(30, e -> {