[J25] Implement Woodland Liege

This commit is contained in:
theelk801 2024-10-29 19:32:45 -04:00
parent b0bf0696d7
commit 64ea27c9a0
2 changed files with 44 additions and 0 deletions

View file

@ -0,0 +1,43 @@
package mage.cards.w;
import mage.MageInt;
import mage.abilities.common.EntersBattlefieldAllTriggeredAbility;
import mage.abilities.effects.common.DrawCardSourceControllerEffect;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.SubType;
import mage.filter.FilterPermanent;
import mage.filter.common.FilterControlledPermanent;
import java.util.UUID;
/**
* @author TheElk801
*/
public final class WoodlandLiege extends CardImpl {
private static final FilterPermanent filter = new FilterControlledPermanent(SubType.BEAST);
public WoodlandLiege(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{2}{G}");
this.subtype.add(SubType.ELF);
this.subtype.add(SubType.DRUID);
this.subtype.add(SubType.NOBLE);
this.power = new MageInt(2);
this.toughness = new MageInt(2);
// Whenever a Beast you control enters, draw a card.
this.addAbility(new EntersBattlefieldAllTriggeredAbility(new DrawCardSourceControllerEffect(1), filter));
}
private WoodlandLiege(final WoodlandLiege card) {
super(card);
}
@Override
public WoodlandLiege copy() {
return new WoodlandLiege(this);
}
}

View file

@ -38,5 +38,6 @@ public final class FoundationsJumpstart extends ExpansionSet {
cards.add(new SetCardInfo("Starlight Snare", 9, Rarity.COMMON, mage.cards.s.StarlightSnare.class));
cards.add(new SetCardInfo("Starnheim Memento", 29, Rarity.UNCOMMON, mage.cards.s.StarnheimMemento.class));
cards.add(new SetCardInfo("Vilis, Broker of Blood", 70, Rarity.RARE, mage.cards.v.VilisBrokerOfBlood.class));
cards.add(new SetCardInfo("Woodland Liege", 27, Rarity.COMMON, mage.cards.w.WoodlandLiege.class));
}
}