[MH2] Implemented Landscaper Colos

This commit is contained in:
Evan Kranzler 2021-05-28 07:11:26 -04:00
parent 1f53725c56
commit 61fc3cb146
2 changed files with 57 additions and 0 deletions

View file

@ -0,0 +1,56 @@
package mage.cards.l;
import mage.MageInt;
import mage.abilities.Ability;
import mage.abilities.common.EntersBattlefieldTriggeredAbility;
import mage.abilities.costs.mana.ManaCostsImpl;
import mage.abilities.effects.common.PutOnLibraryTargetEffect;
import mage.abilities.keyword.BasicLandcyclingAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.SubType;
import mage.constants.TargetController;
import mage.filter.FilterCard;
import mage.target.common.TargetCardInGraveyard;
import java.util.UUID;
/**
* @author TheElk801
*/
public final class LandscaperColos extends CardImpl {
private static final FilterCard filter = new FilterCard("card from an opponent's graveyard");
static {
filter.add(TargetController.OPPONENT.getOwnerPredicate());
}
public LandscaperColos(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{5}{W}");
this.subtype.add(SubType.GOAT);
this.subtype.add(SubType.BEAST);
this.power = new MageInt(4);
this.toughness = new MageInt(6);
// When Landscaper Colos enters the battlefield, put target card from an opponent's graveyard on the bottom of their library.
Ability ability = new EntersBattlefieldTriggeredAbility(new PutOnLibraryTargetEffect(
false, "put target card from an opponent's graveyard on the bottom of their library"
));
ability.addTarget(new TargetCardInGraveyard());
// Basic landcycling {1}{W}
this.addAbility(new BasicLandcyclingAbility(new ManaCostsImpl<>("{1}{W}")));
}
private LandscaperColos(final LandscaperColos card) {
super(card);
}
@Override
public LandscaperColos copy() {
return new LandscaperColos(this);
}
}

View file

@ -69,6 +69,7 @@ public final class ModernHorizons2 extends ExpansionSet {
cards.add(new SetCardInfo("Imperial Recruiter", 281, Rarity.MYTHIC, mage.cards.i.ImperialRecruiter.class));
cards.add(new SetCardInfo("Island", 483, Rarity.LAND, mage.cards.basiclands.Island.class, NON_FULL_USE_VARIOUS));
cards.add(new SetCardInfo("Kitchen Imp", 89, Rarity.COMMON, mage.cards.k.KitchenImp.class));
cards.add(new SetCardInfo("Landscaper Colos", 18, Rarity.COMMON, mage.cards.l.LandscaperColos.class));
cards.add(new SetCardInfo("Late to Dinner", 19, Rarity.COMMON, mage.cards.l.LateToDinner.class));
cards.add(new SetCardInfo("Legion Vanguard", 90, Rarity.UNCOMMON, mage.cards.l.LegionVanguard.class));
cards.add(new SetCardInfo("Lucid Dreams", 50, Rarity.UNCOMMON, mage.cards.l.LucidDreams.class));