v1.2.0: fixed hourglass not being deactivateable if out of charges

This commit is contained in:
Evan Debenham 2022-03-21 17:30:40 -04:00
parent c6dd031c9a
commit a9ca5165a2

View File

@ -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;
}