diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/buffs/MonkEnergy.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/buffs/MonkEnergy.java index 060ad9c1b..dad0d1654 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/buffs/MonkEnergy.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/buffs/MonkEnergy.java @@ -261,14 +261,18 @@ public class MonkEnergy extends Buff implements ActionIndicator.Action { public Visual secondaryVisual() { BitmapText txt = new BitmapText(PixelScene.pixelFont); txt.text( Integer.toString((int)energy) ); - if (abilitiesEmpowered(Dungeon.hero)) txt.hardlight(CharSprite.POSITIVE); + txt.hardlight(CharSprite.POSITIVE); txt.measure(); return txt; } @Override public int indicatorColor() { - return 0xA08840; + if (abilitiesEmpowered(Dungeon.hero)){ + return 0x99CC33; + } else { + return 0xA08840; + } } @Override diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/ui/BuffIndicator.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/ui/BuffIndicator.java index 057b668bb..aa9cc550d 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/ui/BuffIndicator.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/ui/BuffIndicator.java @@ -285,6 +285,7 @@ public class BuffIndicator extends Component { //round up to the nearest pixel if <50% faded, otherwise round down if (!large || buff.iconTextDisplay().isEmpty()) { text.visible = false; + grey.visible = true; float fadeHeight = buff.iconFadePercent() * icon.height(); float zoom = (camera() != null) ? camera().zoom : 1; if (fadeHeight < icon.height() / 2f) { @@ -293,6 +294,7 @@ public class BuffIndicator extends Component { grey.scale.set(icon.width(), (float) Math.floor(zoom * fadeHeight) / zoom); } } else if (!buff.iconTextDisplay().isEmpty()) { + text.visible = true; grey.visible = false; if (buff.type == Buff.buffType.POSITIVE) text.hardlight(CharSprite.POSITIVE); else if (buff.type == Buff.buffType.NEGATIVE) text.hardlight(CharSprite.NEGATIVE);