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

@ -12,6 +12,7 @@ public class CastCommanderAbility extends SpellAbility {
public CastCommanderAbility(Card card) {
super(card.getSpellAbility());
this.newId();
this.setCardName(cardName = card.getName());
zone = Zone.COMMAND;
spellAbilityType = SpellAbilityType.BASE;