Merge pull request #2687 from spjspj/master

spjspj - Evolutionary Escalation fix (C16)
This commit is contained in:
spjspj 2016-12-15 16:54:03 +11:00 committed by GitHub
commit 00ece851b1

View file

@ -39,6 +39,7 @@ import mage.constants.TargetController;
import mage.counters.Counter;
import mage.counters.CounterType;
import mage.filter.common.FilterCreaturePermanent;
import mage.filter.predicate.permanent.ControllerPredicate;
import mage.game.Game;
import mage.game.permanent.Permanent;
import mage.target.Target;
@ -52,6 +53,10 @@ import mage.target.common.TargetCreaturePermanent;
public class EvolutionaryEscalation extends CardImpl {
private static final FilterCreaturePermanent filterOpponentCreature = new FilterCreaturePermanent("creature an opponent controls");
static {
filterOpponentCreature.add(new ControllerPredicate(TargetController.OPPONENT));
}
public EvolutionaryEscalation(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.ENCHANTMENT}, "{1}{G}");