Fix Ashling's Prerogative effects were not correctly copied. Fix
@@ -87,6 +87,10 @@ class AshlingsPrerogativeIncorrectOddityEffect extends PermanentsEnterBattlefiel
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) {
int incorrectModResult;
@@ -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) {
@@ -124,4 +136,8 @@ class AshlingsPrerogativeCorrectOddityEffect extends GainAbilityAllEffect {
return permanent != null && creaturefilter.match(permanent, game) && permanent.getConvertedManaCost() % 2 == correctModResult;
}
+ @Override
+ public AshlingsPrerogativeCorrectOddityEffect copy() {
+ return new AshlingsPrerogativeCorrectOddityEffect(this);
+ }
}
