From 78959ebbaa1d1f69a757f925c66e935c9e32ebd8 Mon Sep 17 00:00:00 2001 From: LevelX2 Date: Fri, 20 Sep 2013 19:24:43 +0200 Subject: [PATCH] * Bestow - Fixed that if cast with bestow the spell on the stack is no creature card type. --- Mage/src/mage/game/stack/Spell.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Mage/src/mage/game/stack/Spell.java b/Mage/src/mage/game/stack/Spell.java index 18db37dd82f..bf8e51f2e71 100644 --- a/Mage/src/mage/game/stack/Spell.java +++ b/Mage/src/mage/game/stack/Spell.java @@ -56,6 +56,7 @@ import mage.watchers.Watcher; import java.util.ArrayList; import java.util.List; import java.util.UUID; +import mage.abilities.keyword.BestowAbility; import mage.cards.SplitCard; @@ -313,6 +314,12 @@ public class Spell> implements StackObject, Card { @Override public List getCardType() { + if (this.getSpellAbility() instanceof BestowAbility) { + List cardTypes = new ArrayList(); + cardTypes.addAll(card.getCardType()); + cardTypes.remove(CardType.CREATURE); + return cardTypes; + } return card.getCardType(); }