[DTK] Added Dragonlord Atarka, updated TargetCreatureOrPlaneswalkerAmount to filter for opponent's controlled permanents.

This commit is contained in:
fireshoes 2015-03-10 21:48:47 -05:00
parent 3ee6df9a3e
commit cb96db4151
2 changed files with 89 additions and 0 deletions

View file

@ -35,9 +35,11 @@
import mage.abilities.Ability;
import mage.abilities.dynamicvalue.DynamicValue;
import mage.abilities.dynamicvalue.common.StaticValue;
import mage.constants.TargetController;
import mage.filter.Filter;
import mage.filter.common.FilterCreatureOrPlaneswalkerPermanent;
import mage.filter.common.FilterCreaturePermanent;
import mage.filter.predicate.permanent.ControllerPredicate;
import mage.game.Game;
import mage.game.permanent.Permanent;
import mage.target.TargetAmount;
@ -63,6 +65,7 @@
super(amount);
this.zone = Zone.ALL;
this.filter = new FilterCreatureOrPlaneswalkerPermanent();
this.filter.add(new ControllerPredicate(TargetController.OPPONENT));
this.targetName = filter.getMessage();
}