mirror of
https://github.com/correl/mage.git
synced 2024-11-14 19:19:32 +00:00
[LTC] Implement Merry, Warden of Isengard
This commit is contained in:
parent
87ad9f5121
commit
456021df94
2 changed files with 49 additions and 0 deletions
48
Mage.Sets/src/mage/cards/m/MerryWardenOfIsengard.java
Normal file
48
Mage.Sets/src/mage/cards/m/MerryWardenOfIsengard.java
Normal file
|
@ -0,0 +1,48 @@
|
|||
package mage.cards.m;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.common.EntersBattlefieldAllTriggeredAbility;
|
||||
import mage.abilities.effects.common.CreateTokenEffect;
|
||||
import mage.abilities.keyword.PartnerWithAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
import mage.constants.SuperType;
|
||||
import mage.filter.StaticFilters;
|
||||
import mage.game.permanent.token.SoldierLifelinkToken;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class MerryWardenOfIsengard extends CardImpl {
|
||||
|
||||
public MerryWardenOfIsengard(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{1}{G}{W}");
|
||||
|
||||
this.supertype.add(SuperType.LEGENDARY);
|
||||
this.subtype.add(SubType.HALFLING);
|
||||
this.subtype.add(SubType.ADVISOR);
|
||||
this.power = new MageInt(1);
|
||||
this.toughness = new MageInt(4);
|
||||
|
||||
// Partner with Pippin, Warden of Isengard
|
||||
this.addAbility(new PartnerWithAbility("Pippin, Warden of Isengard"));
|
||||
|
||||
// Whenever one or more artifacts enter the battlefield under your control, create a 1/1 white Soldier creature token with lifelink. This ability triggers only once each turn.
|
||||
this.addAbility(new EntersBattlefieldAllTriggeredAbility(
|
||||
new CreateTokenEffect(new SoldierLifelinkToken()), StaticFilters.FILTER_CONTROLLED_PERMANENT_ARTIFACT
|
||||
).setTriggerPhrase("Whenever one or more artifacts enter the battlefield under your control, ").setTriggersOnce(true));
|
||||
}
|
||||
|
||||
private MerryWardenOfIsengard(final MerryWardenOfIsengard card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public MerryWardenOfIsengard copy() {
|
||||
return new MerryWardenOfIsengard(this);
|
||||
}
|
||||
}
|
|
@ -148,6 +148,7 @@ public final class TalesOfMiddleEarthCommander extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Marshal's Anthem", 172, Rarity.RARE, mage.cards.m.MarshalsAnthem.class));
|
||||
cards.add(new SetCardInfo("Mentor of the Meek", 173, Rarity.RARE, mage.cards.m.MentorOfTheMeek.class));
|
||||
cards.add(new SetCardInfo("Merciless Executioner", 204, Rarity.UNCOMMON, mage.cards.m.MercilessExecutioner.class));
|
||||
cards.add(new SetCardInfo("Merry, Warden of Isengard", 61, Rarity.RARE, mage.cards.m.MerryWardenOfIsengard.class));
|
||||
cards.add(new SetCardInfo("Minamo, School at Water's Edge", 369, Rarity.MYTHIC, mage.cards.m.MinamoSchoolAtWatersEdge.class));
|
||||
cards.add(new SetCardInfo("Mind Stone", 282, Rarity.UNCOMMON, mage.cards.m.MindStone.class));
|
||||
cards.add(new SetCardInfo("Mortify", 269, Rarity.UNCOMMON, mage.cards.m.Mortify.class));
|
||||
|
|
Loading…
Reference in a new issue