diff --git a/Mage.Sets/src/mage/cards/a/AshlingsPrerogative.java b/Mage.Sets/src/mage/cards/a/AshlingsPrerogative.java index 0849ce93303..d7d1155f02a 100644 --- a/Mage.Sets/src/mage/cards/a/AshlingsPrerogative.java +++ b/Mage.Sets/src/mage/cards/a/AshlingsPrerogative.java @@ -86,6 +86,10 @@ class AshlingsPrerogativeIncorrectOddityEffect extends PermanentsEnterBattlefiel super(creaturefilter); staticText = "Each creature without converted mana cost of the chosen value enters the battlefield tapped."; } + + public AshlingsPrerogativeIncorrectOddityEffect(final AshlingsPrerogativeIncorrectOddityEffect effect) { + super(effect); + } @Override public boolean applies(GameEvent event, Ability source, Game game) { @@ -101,6 +105,11 @@ class AshlingsPrerogativeIncorrectOddityEffect extends PermanentsEnterBattlefiel return permanent != null && creaturefilter.match(permanent, game) && permanent.getConvertedManaCost() % 2 == incorrectModResult; } + + @Override + public AshlingsPrerogativeIncorrectOddityEffect copy() { + return new AshlingsPrerogativeIncorrectOddityEffect(this); + } } class AshlingsPrerogativeCorrectOddityEffect extends GainAbilityAllEffect { @@ -112,6 +121,9 @@ class AshlingsPrerogativeCorrectOddityEffect extends GainAbilityAllEffect { super(HasteAbility.getInstance(), Duration.WhileOnBattlefield, creaturefilter); staticText = "Each creature with converted mana cost of the chosen value has haste."; } + public AshlingsPrerogativeCorrectOddityEffect(final AshlingsPrerogativeCorrectOddityEffect effect) { + super(effect); + } @Override protected boolean selectedByRuntimeData(Permanent permanent, Ability source, Game game) { @@ -123,5 +135,9 @@ class AshlingsPrerogativeCorrectOddityEffect extends GainAbilityAllEffect { } return permanent != null && creaturefilter.match(permanent, game) && permanent.getConvertedManaCost() % 2 == correctModResult; } - + + @Override + public AshlingsPrerogativeCorrectOddityEffect copy() { + return new AshlingsPrerogativeCorrectOddityEffect(this); + } }