Misc bugfixes
This commit is contained in:
@@ -1513,7 +1513,8 @@ public class Blocks{
|
||||
//TODO
|
||||
requirements(Category.effect, with(Items.surgeAlloy, 100, Items.silicon, 125));
|
||||
size = 3;
|
||||
radius = 50f;
|
||||
width = 50f;
|
||||
length = 36;
|
||||
shieldHealth = 2000f;
|
||||
cooldownNormal = 3f;
|
||||
cooldownBrokenBase = 0.35f;
|
||||
|
||||
@@ -78,6 +78,14 @@ public class Fx{
|
||||
Draw.rect(Icon.warning.getRegion(), e.x, e.y, size, size);
|
||||
}),
|
||||
|
||||
unitEnvKill = new Effect(80f, e -> {
|
||||
color(Color.scarlet);
|
||||
alpha(e.fout(Interp.pow4Out));
|
||||
|
||||
float size = 10f + e.fout(Interp.pow10In) * 25f;
|
||||
Draw.rect(Icon.cancel.getRegion(), e.x, e.y, size, size);
|
||||
}),
|
||||
|
||||
unitControl = new Effect(30f, e -> {
|
||||
if(!(e.data instanceof Unit select)) return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user