* Added test for Dream Leash.

This commit is contained in:
LevelX2 2020-06-29 18:02:18 +02:00
parent a5d10d6a5d
commit 368faa37dd
2 changed files with 90 additions and 1 deletions

View file

@ -29,7 +29,7 @@ public class EmergeAbility extends SpellAbility {
public EmergeAbility(Card card, ManaCosts<ManaCost> emergeCost) {
super(card.getSpellAbility());
this.emergeCost = emergeCost.copy();
this.newId(); // Why is this neccessary? will create new id anyway or not?
this.newId(); // Set newId because cards spell ability is copied and needs own id
this.setCardName(card.getName() + " with emerge");
zone = Zone.HAND;
spellAbilityType = SpellAbilityType.BASE_ALTERNATE;