v1.2.0: fixed hourglass not being deactivateable if out of charges
This commit is contained in:
+2
-1
@@ -70,8 +70,9 @@ public class TimekeepersHourglass extends Artifact {
|
|||||||
@Override
|
@Override
|
||||||
public ArrayList<String> actions( Hero hero ) {
|
public ArrayList<String> actions( Hero hero ) {
|
||||||
ArrayList<String> actions = super.actions( 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);
|
actions.add(AC_ACTIVATE);
|
||||||
|
}
|
||||||
return actions;
|
return actions;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user