v0.2.4: fixed unstable spellbook error
This commit is contained in:
parent
dded8b5dc4
commit
860d001657
|
@ -69,7 +69,7 @@ public class UnstableSpellbook extends Artifact {
|
||||||
ArrayList<String> actions = super.actions( hero );
|
ArrayList<String> actions = super.actions( hero );
|
||||||
if (isEquipped( hero ) && charge > 0 && !cursed)
|
if (isEquipped( hero ) && charge > 0 && !cursed)
|
||||||
actions.add(AC_READ);
|
actions.add(AC_READ);
|
||||||
if (level < levelCap && !cursed)
|
if (isEquipped( hero ) && level < levelCap && !cursed)
|
||||||
actions.add(AC_ADD);
|
actions.add(AC_ADD);
|
||||||
return actions;
|
return actions;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user