v1.2.0: fixed hourglass not being deactivateable if out of charges
This commit is contained in:
parent
c6dd031c9a
commit
a9ca5165a2
|
@ -70,8 +70,9 @@ public class TimekeepersHourglass extends Artifact {
|
|||
@Override
|
||||
public ArrayList<String> actions( Hero hero ) {
|
||||
ArrayList<String> actions = super.actions( hero );
|
||||
if (isEquipped( hero ) && charge > 0 && !cursed)
|
||||
if (isEquipped( hero ) && !cursed && (charge > 0 || activeBuff != null)) {
|
||||
actions.add(AC_ACTIVATE);
|
||||
}
|
||||
return actions;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user