Misc bugfixes

This commit is contained in:
Anuken
2021-12-08 14:28:27 -05:00
parent 6c10a400ed
commit 5fbfe52d0a
12 changed files with 206 additions and 46 deletions

View File

@@ -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;