mirror of
https://github.com/correl/mage.git
synced 2024-11-15 19:19:33 +00:00
* Feldon of the Third Path - Fixed that to the token was no Artifact card type added.
This commit is contained in:
parent
28312962e0
commit
d7ffc19737
1 changed files with 4 additions and 1 deletions
|
@ -106,9 +106,12 @@ class FeldonOfTheThirdPathEffect extends OneShotEffect {
|
||||||
Card card = game.getCard(getTargetPointer().getFirst(game, source));
|
Card card = game.getCard(getTargetPointer().getFirst(game, source));
|
||||||
if (card != null) {
|
if (card != null) {
|
||||||
EmptyToken token = new EmptyToken();
|
EmptyToken token = new EmptyToken();
|
||||||
// This fails if a card will be copied, that uses adjustTargets() method.
|
// TODO: This fails if a card will be copied, that uses adjustTargets() method.
|
||||||
CardUtil.copyTo(token).from(card);
|
CardUtil.copyTo(token).from(card);
|
||||||
|
|
||||||
|
if (!token.getCardType().contains(CardType.ARTIFACT)) {
|
||||||
|
token.getCardType().add(CardType.ARTIFACT);
|
||||||
|
}
|
||||||
token.addAbility(HasteAbility.getInstance());
|
token.addAbility(HasteAbility.getInstance());
|
||||||
token.putOntoBattlefield(1, game, source.getSourceId(), source.getControllerId());
|
token.putOntoBattlefield(1, game, source.getSourceId(), source.getControllerId());
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue