* Double faces and adventure cards: improved support with some "exile and cast" effects like Hostage Taker (#7446);

This commit is contained in:
Oleg Agafonov 2021-01-27 10:13:10 +04:00
parent 43014f7f5e
commit e3db50f111
12 changed files with 201 additions and 190 deletions

View file

@ -3,6 +3,7 @@ package mage.game.permanent;
import mage.MageObject;
import mage.abilities.Ability;
import mage.abilities.costs.mana.ManaCost;
import mage.cards.Card;
import mage.constants.EmptyNames;
import mage.game.Game;
import mage.game.permanent.token.Token;
@ -118,4 +119,9 @@ public class PermanentToken extends PermanentImpl {
}
}
@Override
public Card getMainCard() {
// token don't have game card, so return itself
return this;
}
}