forked from External/mage
[DOM] Added three cards. Some fixes to rule texts and some more minor fixes.
This commit is contained in:
parent
dddb77b856
commit
041ad9e036
26 changed files with 464 additions and 105 deletions
|
|
@ -0,0 +1,34 @@
|
|||
/*
|
||||
* To change this license header, choose License Headers in Project Properties.
|
||||
* To change this template file, choose Tools | Templates
|
||||
* and open the template in the editor.
|
||||
*/
|
||||
package mage.game.command.emblems;
|
||||
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.common.DrawCardControllerTriggeredAbility;
|
||||
import mage.abilities.effects.common.ExileTargetEffect;
|
||||
import mage.constants.TargetController;
|
||||
import mage.constants.Zone;
|
||||
import mage.filter.FilterPermanent;
|
||||
import mage.filter.predicate.permanent.ControllerPredicate;
|
||||
import mage.game.command.Emblem;
|
||||
import mage.target.TargetPermanent;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author LevelX2
|
||||
*/
|
||||
public class TeferiHeroOfDominariaEmblem extends Emblem {
|
||||
|
||||
// Whenever you draw a card, exile target permanent an opponent controls.
|
||||
public TeferiHeroOfDominariaEmblem() {
|
||||
this.setName("Emblem Teferi");
|
||||
Ability ability = new DrawCardControllerTriggeredAbility(Zone.COMMAND, new ExileTargetEffect(), false);
|
||||
FilterPermanent filter = new FilterPermanent("permanent an opponent controls");
|
||||
filter.add(new ControllerPredicate(TargetController.OPPONENT));
|
||||
ability.addTarget(new TargetPermanent(filter));
|
||||
this.getAbilities().add(ability);
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue