Fix March of the Machines

Add a DependencyType for ArtifactAddingRemoving and use it to make March of the Machines come after artifact type adding effects.
This commit is contained in:
Dilnu 2016-11-22 08:40:54 -05:00
parent 9ff3e2c670
commit 3198558dd6
4 changed files with 22 additions and 1 deletions

View file

@ -52,6 +52,8 @@ public class AddCardTypeTargetEffect extends ContinuousEffectImpl {
this.addedCardType = addedCardType;
if (addedCardType.equals(CardType.ENCHANTMENT)) {
dependencyTypes.add(DependencyType.EnchantmentAddingRemoving);
} else if (addedCardType.equals(CardType.ARTIFACT)) {
dependencyTypes.add(DependencyType.ArtifactAddingRemoving);
}
}

View file

@ -41,6 +41,7 @@ package mage.constants;
public enum DependencyType {
AuraAddingRemoving,
ArtifactAddingRemoving,
BecomeForest,
BecomeIsland,
BecomeMountain,