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 5ec4b5773..39e864df2 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/plants/Earthroot.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/plants/Earthroot.java @@ -44,7 +44,7 @@ public class Earthroot extends Plant { Char ch = Actor.findChar(pos); if (ch == Dungeon.hero) { - Buff.affect( ch, Armor.class ).level = ch.HT; + Buff.affect( ch, Armor.class ).level(ch.HT); } if (Dungeon.visible[pos]) { @@ -103,6 +103,7 @@ public class Earthroot extends Plant { public void level( int value ) { if (level < value) { level = value; + pos = target.pos; } }