mirror of
https://github.com/correl/mage.git
synced 2024-11-15 11:09:30 +00:00
* Morph ability - Fixed that while a porphed creature not all other cardtypes (e.g. Artifact) or supertypes (e.g. Legendary) were removed.
This commit is contained in:
parent
b883b34c5a
commit
4ce5519861
1 changed files with 4 additions and 0 deletions
|
@ -50,6 +50,7 @@ import mage.abilities.costs.mana.ManaCostsImpl;
|
|||
import mage.abilities.effects.ContinuousEffectImpl;
|
||||
import mage.abilities.effects.common.continious.SourceEffect;
|
||||
import mage.cards.Card;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.Duration;
|
||||
import mage.constants.Layer;
|
||||
import mage.constants.Outcome;
|
||||
|
@ -291,6 +292,9 @@ class BecomesFaceDownCreatureEffect extends ContinuousEffectImpl implements Sour
|
|||
switch (layer) {
|
||||
case TypeChangingEffects_4:
|
||||
permanent.setName("");
|
||||
permanent.getSupertype().clear();
|
||||
permanent.getCardType().clear();
|
||||
permanent.getCardType().add(CardType.CREATURE);
|
||||
permanent.getSubtype().clear();
|
||||
permanent.getManaCost().clear();
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue