Better bloom

This commit is contained in:
Anuken
2022-04-26 00:19:14 -04:00
parent aab6c3a9df
commit f6e0c0ce11
4 changed files with 8 additions and 34 deletions

View File

@@ -3382,7 +3382,7 @@ public class UnitTypes{
colors = new Color[]{Color.valueOf("bf92f9").a(0.4f), Color.valueOf("bf92f9"), Color.white};
//TODO merge
chargeEffect = new MultiEffect(Fx.lancerLaserCharge, Fx.lancerLaserChargeBegin);
width = 20f;
width = 4f;
largeHit = false;
buildingDamageMultiplier = 0.25f;

View File

@@ -36,6 +36,7 @@ public class Door extends Wall{
config(Boolean.class, (DoorBuild base, Boolean open) -> {
doorSound.at(base);
base.effect();
for(DoorBuild entity : base.chained){
//skip doors with things in them
@@ -45,7 +46,6 @@ public class Door extends Wall{
entity.open = open;
pathfinder.updateTile(entity.tile());
entity.effect();
}
});
}