* Feldon of the Third Path - Fixed that to the token was no Artifact card type added.

This commit is contained in:
LevelX2 2015-03-27 09:32:05 +01:00
parent 28312962e0
commit d7ffc19737

View file

@ -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());