Implemented Tezzeret, Artifice Master

This commit is contained in:
Evan Kranzler 2018-06-21 22:59:29 -04:00
parent 4dca0c2650
commit 592362a258
3 changed files with 85 additions and 0 deletions

View file

@ -0,0 +1,26 @@
package mage.game.command.emblems;
import mage.abilities.common.BeginningOfEndStepTriggeredAbility;
import mage.abilities.effects.common.search.SearchLibraryPutInPlayEffect;
import mage.constants.TargetController;
import mage.filter.common.FilterPermanentCard;
import mage.game.command.Emblem;
import mage.target.common.TargetCardInLibrary;
/**
*
* @author spjspj
*/
public class TezzeretArtificeMasterEmblem extends Emblem {
// 9: You get an emblem with "At the beginning of your end step, search your library for a permanent card, put it into the battlefield, then shuffle your library."
public TezzeretArtificeMasterEmblem() {
this.setName("Emblem Tezzeret");
this.setExpansionSetCodeForImage("M19");
this.getAbilities().add(new BeginningOfEndStepTriggeredAbility(
new SearchLibraryPutInPlayEffect(
new TargetCardInLibrary(new FilterPermanentCard())
), TargetController.YOU, false
));
}
}