mirror of
https://github.com/correl/mage.git
synced 2024-11-22 03:00:11 +00:00
[LTR] Implement Inherited Envelope
This commit is contained in:
parent
34ace109b7
commit
0d551cd8be
2 changed files with 37 additions and 0 deletions
36
Mage.Sets/src/mage/cards/i/InheritedEnvelope.java
Normal file
36
Mage.Sets/src/mage/cards/i/InheritedEnvelope.java
Normal file
|
@ -0,0 +1,36 @@
|
|||
package mage.cards.i;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
import mage.abilities.common.EntersBattlefieldTriggeredAbility;
|
||||
import mage.abilities.effects.keyword.TheRingTemptsYouEffect;
|
||||
import mage.abilities.mana.AnyColorManaAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class InheritedEnvelope extends CardImpl {
|
||||
|
||||
public InheritedEnvelope(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.ARTIFACT}, "{3}");
|
||||
|
||||
// When Inherited Envelope enters the battlefield, the Ring tempts you.
|
||||
this.addAbility(new EntersBattlefieldTriggeredAbility(new TheRingTemptsYouEffect()));
|
||||
|
||||
// {T}: Add one mana of any color.
|
||||
this.addAbility(new AnyColorManaAbility());
|
||||
}
|
||||
|
||||
private InheritedEnvelope(final InheritedEnvelope card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public InheritedEnvelope copy() {
|
||||
return new InheritedEnvelope(this);
|
||||
}
|
||||
}
|
|
@ -91,6 +91,7 @@ public final class TheLordOfTheRingsTalesOfMiddleEarth extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Horn of Gondor", 240, Rarity.RARE, mage.cards.h.HornOfGondor.class));
|
||||
cards.add(new SetCardInfo("Horses of the Bruinen", 55, Rarity.UNCOMMON, mage.cards.h.HorsesOfTheBruinen.class));
|
||||
cards.add(new SetCardInfo("Improvised Club", 137, Rarity.COMMON, mage.cards.i.ImprovisedClub.class));
|
||||
cards.add(new SetCardInfo("Inherited Envelope", 242, Rarity.COMMON, mage.cards.i.InheritedEnvelope.class));
|
||||
cards.add(new SetCardInfo("Ioreth of the Healing House", 56, Rarity.UNCOMMON, mage.cards.i.IorethOfTheHealingHouse.class));
|
||||
cards.add(new SetCardInfo("Isildur's Fateful Strike", 91, Rarity.RARE, mage.cards.i.IsildursFatefulStrike.class));
|
||||
cards.add(new SetCardInfo("Island", 264, Rarity.LAND, mage.cards.basiclands.Island.class, NON_FULL_USE_VARIOUS));
|
||||
|
|
Loading…
Reference in a new issue