update to 129v

This commit is contained in:
Sharlotte
2021-07-29 16:05:51 +09:00
parent 60dddd07d6
commit ac267023c0
6 changed files with 31 additions and 12 deletions

View File

@@ -74,7 +74,7 @@ public class FreeBar {
float moser = topWidth + height;
if(unit.ammo <= 0) moser = (width / 2 + height) * (2 * Mathf.clamp(unit.ammof()) - 1);
Draw.color((unit.dead() || unit instanceof BlockUnitc ? Pal.ammo : unit.type.ammoType.color).cpy().a((settings.getInt("baropacity") / 100f)));
Draw.color((unit.dead() || unit instanceof BlockUnitc ? Pal.ammo : unit.type.ammoType.color()).cpy().a((settings.getInt("baropacity") / 100f)));
Fill.poly(FloatSeq.with(
x - (width / 2 + height), y,
x - width / 2, y + height,