mirror of
https://github.com/correl/mage.git
synced 2024-11-15 03:00:16 +00:00
[LTR] Implement Arwen Undomiel
This commit is contained in:
parent
1aea1ebe92
commit
145440ccb1
2 changed files with 54 additions and 0 deletions
53
Mage.Sets/src/mage/cards/a/ArwenUndomiel.java
Normal file
53
Mage.Sets/src/mage/cards/a/ArwenUndomiel.java
Normal file
|
@ -0,0 +1,53 @@
|
|||
package mage.cards.a;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.common.ScryTriggeredAbility;
|
||||
import mage.abilities.common.SimpleActivatedAbility;
|
||||
import mage.abilities.costs.mana.ManaCostsImpl;
|
||||
import mage.abilities.effects.common.counter.AddCountersTargetEffect;
|
||||
import mage.abilities.effects.keyword.ScryEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
import mage.constants.SuperType;
|
||||
import mage.counters.CounterType;
|
||||
import mage.target.common.TargetCreaturePermanent;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class ArwenUndomiel extends CardImpl {
|
||||
|
||||
public ArwenUndomiel(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{G}{U}");
|
||||
|
||||
this.supertype.add(SuperType.LEGENDARY);
|
||||
this.subtype.add(SubType.ELF);
|
||||
this.subtype.add(SubType.NOBLE);
|
||||
this.power = new MageInt(2);
|
||||
this.toughness = new MageInt(2);
|
||||
|
||||
// Whenever you scry, put a +1/+1 counter on target creature.
|
||||
Ability ability = new ScryTriggeredAbility(new AddCountersTargetEffect(CounterType.P1P1.createInstance()));
|
||||
ability.addTarget(new TargetCreaturePermanent());
|
||||
this.addAbility(ability);
|
||||
|
||||
// {4}{G}{U}: Scry 2.
|
||||
this.addAbility(new SimpleActivatedAbility(
|
||||
new ScryEffect(2, false), new ManaCostsImpl<>("{4}{G}{U}")
|
||||
));
|
||||
}
|
||||
|
||||
private ArwenUndomiel(final ArwenUndomiel card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public ArwenUndomiel copy() {
|
||||
return new ArwenUndomiel(this);
|
||||
}
|
||||
}
|
|
@ -20,6 +20,7 @@ public final class TheLordOfTheRingsTalesOfMiddleEarth extends ExpansionSet {
|
|||
|
||||
cards.add(new SetCardInfo("Aragorn and Arwen, Wed", 287, Rarity.MYTHIC, mage.cards.a.AragornAndArwenWed.class));
|
||||
cards.add(new SetCardInfo("Aragorn, the Uniter", 192, Rarity.MYTHIC, mage.cards.a.AragornTheUniter.class));
|
||||
cards.add(new SetCardInfo("Arwen Undomiel", 194, Rarity.UNCOMMON, mage.cards.a.ArwenUndomiel.class));
|
||||
cards.add(new SetCardInfo("Arwen's Gift", 39, Rarity.COMMON, mage.cards.a.ArwensGift.class));
|
||||
cards.add(new SetCardInfo("Assault on Osgiliath", 285, Rarity.RARE, mage.cards.a.AssaultOnOsgiliath.class));
|
||||
cards.add(new SetCardInfo("Bag End Porter", 153, Rarity.COMMON, mage.cards.b.BagEndPorter.class));
|
||||
|
|
Loading…
Reference in a new issue