Fixed that alternative spell always selected to cast if available;

This commit is contained in:
Oleg Agafonov 2019-06-23 17:20:04 +04:00
parent 4bf9153bc2
commit 63a9a505e1
8 changed files with 62 additions and 2 deletions

View file

@ -23,6 +23,7 @@ public class SpectacleAbility extends SpellAbility {
public SpectacleAbility(Card card, ManaCost spectacleCosts) {
super(card.getSpellAbility());
this.newId();
this.setCardName(card.getName() + " with spectacle");
zone = Zone.HAND;
spellAbilityType = SpellAbilityType.BASE_ALTERNATE;