* BestowAbility - Fixed that the Bestow card stays as creature on the battlefield when the creature it was enchanting leaves the battlefield.

This commit is contained in:
LevelX2 2013-09-20 01:07:45 +02:00
parent eafe3e719d
commit f6744cd29a
3 changed files with 49 additions and 11 deletions

View file

@ -1215,8 +1215,11 @@ public abstract class GameImpl<T extends GameImpl<T>> implements Game, Serializa
if (filterAura.match(perm, this)) {
//20091005 - 704.5n, 702.14c
if (perm.getAttachedTo() == null) {
if (perm.moveToZone(Zone.GRAVEYARD, null, this, false)) {
somethingHappened = true;
Card card = this.getCard(perm.getId());
if (card != null && !card.getCardType().contains(CardType.CREATURE)) { // no bestow creature
if (perm.moveToZone(Zone.GRAVEYARD, null, this, false)) {
somethingHappened = true;
}
}
}
else {