forked from External/mage
* Double faces and adventure cards: improved support with some "exile and cast" effects like Hostage Taker (#7446);
This commit is contained in:
parent
43014f7f5e
commit
e3db50f111
12 changed files with 201 additions and 190 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue