From 149d19942240dde9e1f45f8d9442b3699286079b Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Fri, 12 Sep 2014 00:15:40 -0400 Subject: [PATCH] V0.2.0: Fixed a bug in EarthRoot --- .../shatteredpixel/shatteredpixeldungeon/plants/Earthroot.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/shatteredpixel/shatteredpixeldungeon/plants/Earthroot.java b/src/com/shatteredpixel/shatteredpixeldungeon/plants/Earthroot.java index dbaa065f0..7ecc84c55 100644 --- a/src/com/shatteredpixel/shatteredpixeldungeon/plants/Earthroot.java +++ b/src/com/shatteredpixel/shatteredpixeldungeon/plants/Earthroot.java @@ -99,7 +99,7 @@ public class Earthroot extends Plant { } public int absorb( int damage ) { - if (level >= damage-damage/2) { + if (level <= damage-damage/2) { detach(); return damage - level; } else {