* Escape abilities - fixed missing game log about cast with Escape;

This commit is contained in:
Oleg Agafonov 2020-01-12 07:44:17 +04:00
parent e3192a7361
commit f237c4f388

View file

@ -16,7 +16,7 @@ import mage.util.CardUtil;
*/
public class EscapeAbility extends SpellAbility {
private static final FilterCard filter = new FilterCard();
private static final FilterCard filter = new FilterCard("card to exile");
static {
filter.add(AnotherPredicate.instance);
@ -28,8 +28,10 @@ public class EscapeAbility extends SpellAbility {
public EscapeAbility(Card card, String manaCost, int exileCount) {
super(card.getSpellAbility());
this.newId();
this.setCardName(card.getName() + " with Escape");
this.zone = Zone.GRAVEYARD;
this.spellAbilityType = SpellAbilityType.BASE_ALTERNATE;
this.manaCost = manaCost;
this.exileCount = exileCount;
this.getManaCosts().clear();