v0.2.4: fixed unstable spellbook error

This commit is contained in:
Evan Debenham 2015-02-10 13:58:45 -05:00
parent dded8b5dc4
commit 860d001657

View File

@ -69,7 +69,7 @@ public class UnstableSpellbook extends Artifact {
ArrayList<String> actions = super.actions( hero );
if (isEquipped( hero ) && charge > 0 && !cursed)
actions.add(AC_READ);
if (level < levelCap && !cursed)
if (isEquipped( hero ) && level < levelCap && !cursed)
actions.add(AC_ADD);
return actions;
}