v0.2.2: fixed a bug with the ankh
This commit is contained in:
parent
ad597172ce
commit
eeca1cb7db
|
@ -68,7 +68,7 @@ public class Ankh extends Item {
|
||||||
public ArrayList<String> actions( Hero hero ) {
|
public ArrayList<String> actions( Hero hero ) {
|
||||||
ArrayList<String> actions = super.actions(hero);
|
ArrayList<String> actions = super.actions(hero);
|
||||||
DewVial vial = hero.belongings.getItem(DewVial.class);
|
DewVial vial = hero.belongings.getItem(DewVial.class);
|
||||||
if (vial != null && vial.isFull())
|
if (vial != null && vial.isFull() && !blessed)
|
||||||
actions.add( AC_BLESS );
|
actions.add( AC_BLESS );
|
||||||
return actions;
|
return actions;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user