V0.2.0: Fixed a bug in EarthRoot

This commit is contained in:
Evan Debenham 2014-09-12 00:15:40 -04:00
parent 1615f5e502
commit 149d199422

View File

@ -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 {