diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/plants/Earthroot.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/plants/Earthroot.java index f10f8c761..460cd50a0 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/plants/Earthroot.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/plants/Earthroot.java @@ -99,6 +99,7 @@ public class Earthroot extends Plant { return damage - level; } else { level -= damage-damage/2; + BuffIndicator.refreshHero(); return damage/2; } } @@ -106,6 +107,7 @@ public class Earthroot extends Plant { public void level( int value ) { if (level < value) { level = value; + BuffIndicator.refreshHero(); } pos = target.pos; } diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/plants/Sungrass.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/plants/Sungrass.java index 18b64d0f1..f3ff3873a 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/plants/Sungrass.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/plants/Sungrass.java @@ -104,16 +104,22 @@ public class Sungrass extends Plant { } else { count++; } - if (level <= 0) + if (level <= 0) { detach(); + } else { + BuffIndicator.refreshHero(); + } spend( STEP ); return true; } public int absorb( int damage ) { level -= damage; - if (level <= 0) + if (level <= 0) { detach(); + } else { + BuffIndicator.refreshHero(); + } return damage; }