forked from External/mage
* 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:
parent
eafe3e719d
commit
f6744cd29a
3 changed files with 49 additions and 11 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue