forked from External/mage
[FDN] Implement Ambush Wolf
This commit is contained in:
parent
8bcc87fc8b
commit
e10d56a080
2 changed files with 46 additions and 0 deletions
45
Mage.Sets/src/mage/cards/a/AmbushWolf.java
Normal file
45
Mage.Sets/src/mage/cards/a/AmbushWolf.java
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
package mage.cards.a;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.common.EntersBattlefieldTriggeredAbility;
|
||||
import mage.abilities.effects.common.ExileTargetEffect;
|
||||
import mage.abilities.keyword.FlashAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
import mage.target.common.TargetCardInGraveyard;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class AmbushWolf extends CardImpl {
|
||||
|
||||
public AmbushWolf(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{2}{G}");
|
||||
|
||||
this.subtype.add(SubType.WOLF);
|
||||
this.power = new MageInt(4);
|
||||
this.toughness = new MageInt(2);
|
||||
|
||||
// Flash
|
||||
this.addAbility(FlashAbility.getInstance());
|
||||
|
||||
// When this creature enters, exile up to one target card from a graveyard.
|
||||
Ability ability = new EntersBattlefieldTriggeredAbility(new ExileTargetEffect());
|
||||
ability.addTarget(new TargetCardInGraveyard(0, 1));
|
||||
this.addAbility(ability);
|
||||
}
|
||||
|
||||
private AmbushWolf(final AmbushWolf card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public AmbushWolf copy() {
|
||||
return new AmbushWolf(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -33,6 +33,7 @@ public final class Foundations extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Ajani's Pridemate", 135, Rarity.UNCOMMON, mage.cards.a.AjanisPridemate.class));
|
||||
cards.add(new SetCardInfo("Ajani, Caller of the Pride", 134, Rarity.MYTHIC, mage.cards.a.AjaniCallerOfThePride.class));
|
||||
cards.add(new SetCardInfo("Alesha, Who Laughs at Fate", 115, Rarity.RARE, mage.cards.a.AleshaWhoLaughsAtFate.class));
|
||||
cards.add(new SetCardInfo("Ambush Wolf", 98, Rarity.COMMON, mage.cards.a.AmbushWolf.class));
|
||||
cards.add(new SetCardInfo("An Offer You Can't Refuse", 160, Rarity.UNCOMMON, mage.cards.a.AnOfferYouCantRefuse.class));
|
||||
cards.add(new SetCardInfo("Ancestor Dragon", 489, Rarity.RARE, mage.cards.a.AncestorDragon.class));
|
||||
cards.add(new SetCardInfo("Angel of Finality", 136, Rarity.UNCOMMON, mage.cards.a.AngelOfFinality.class));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue