V0.1.1: fixed bugs and cleaned up some effects.

This commit is contained in:
Evan Debenham
2014-08-14 22:26:58 -04:00
parent 94591b7d32
commit faa9140e05
7 changed files with 27 additions and 12 deletions
@@ -125,7 +125,7 @@ public class Blandfruit extends Food {
potionAttrib instanceof PotionOfParalyticGas ||
potionAttrib instanceof PotionOfFrost){
potionAttrib.execute(hero, action);
detach( hero.belongings.backpack );
//detaches in Potion.cast, this is an awkward workaround due to throwing being on a different thread.
} else {
super.execute(hero, action);
}
@@ -151,6 +151,7 @@ public class Blandfruit extends Food {
try {
potionAttrib = (Potion)plant.newInstance();
potionAttrib.ownedByFruit = true;
} catch (Exception e) {
return null;
}