v0.2.3: artifact fixes

This commit is contained in:
Evan Debenham
2014-12-12 16:45:00 -05:00
parent 1ed89667ea
commit 80686f6ad7
3 changed files with 33 additions and 13 deletions
@@ -82,6 +82,7 @@ public class UnstableSpellbook extends Artifact {
if (hero.buff( Blindness.class ) != null) GLog.w("You cannot read from the book while blinded.");
else if (!isEquipped( hero )) GLog.i("You need to equip your spellbook to do that.");
else if (charge == 0) GLog.i("Your spellbook is out of energy for now.");
else if (cursed) GLog.i("Your cannot read from a cursed spellbook.");
else {
charge--;