v0.9.3a: fixed quickslot issues with chains caused by v0.9.3

This commit is contained in:
Evan Debenham 2021-06-11 22:42:47 -04:00
parent eb5212b42c
commit b2df851b08

View File

@ -88,17 +88,18 @@ public class EtherealChains extends Artifact {
if (!isEquipped( hero )) {
GLog.i( Messages.get(Artifact.class, "need_to_equip") );
QuickSlotButton.cancel();
usesTargeting = false;
} else if (charge < 1) {
GLog.i( Messages.get(this, "no_charge") );
QuickSlotButton.cancel();
usesTargeting = false;
} else if (cursed) {
GLog.w( Messages.get(this, "cursed") );
QuickSlotButton.cancel();
usesTargeting = false;
} else {
usesTargeting = true;
GameScene.selectCell(caster);
}