mirror of
https://github.com/magefree/mage.git
synced 2025-12-20 10:40:06 -08:00
[J25] Implement Anep, Vizier of Hazoret
This commit is contained in:
parent
d294b12201
commit
23842c75c1
2 changed files with 49 additions and 0 deletions
48
Mage.Sets/src/mage/cards/a/AnepVizierOfHazoret.java
Normal file
48
Mage.Sets/src/mage/cards/a/AnepVizierOfHazoret.java
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
package mage.cards.a;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.common.BecomesExertSourceTriggeredAbility;
|
||||
import mage.abilities.effects.common.ExileTopXMayPlayUntilEffect;
|
||||
import mage.abilities.keyword.ExertAbility;
|
||||
import mage.abilities.keyword.TrampleAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.Duration;
|
||||
import mage.constants.SubType;
|
||||
import mage.constants.SuperType;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class AnepVizierOfHazoret extends CardImpl {
|
||||
|
||||
public AnepVizierOfHazoret(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{2}{R}");
|
||||
|
||||
this.supertype.add(SuperType.LEGENDARY);
|
||||
this.subtype.add(SubType.JACKAL);
|
||||
this.subtype.add(SubType.WARRIOR);
|
||||
this.power = new MageInt(4);
|
||||
this.toughness = new MageInt(2);
|
||||
|
||||
// Trample
|
||||
this.addAbility(TrampleAbility.getInstance());
|
||||
|
||||
// You may exert Anep, Vizier of Hazoret as it attacks. When you do, exile the top two cards of your library. Until the end of your next turn, you may play those cards.
|
||||
this.addAbility(new ExertAbility(new BecomesExertSourceTriggeredAbility(
|
||||
new ExileTopXMayPlayUntilEffect(2, Duration.UntilEndOfYourNextTurn)
|
||||
)));
|
||||
}
|
||||
|
||||
private AnepVizierOfHazoret(final AnepVizierOfHazoret card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public AnepVizierOfHazoret copy() {
|
||||
return new AnepVizierOfHazoret(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -44,6 +44,7 @@ public final class FoundationsJumpstart extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Ancestral Anger", 516, Rarity.COMMON, mage.cards.a.AncestralAnger.class));
|
||||
cards.add(new SetCardInfo("Ancestral Blade", 160, Rarity.COMMON, mage.cards.a.AncestralBlade.class));
|
||||
cards.add(new SetCardInfo("Ancient Greenwarden", 627, Rarity.MYTHIC, mage.cards.a.AncientGreenwarden.class));
|
||||
cards.add(new SetCardInfo("Anep, Vizier of Hazoret", 46, Rarity.UNCOMMON, mage.cards.a.AnepVizierOfHazoret.class));
|
||||
cards.add(new SetCardInfo("Angel of Mercy", 161, Rarity.COMMON, mage.cards.a.AngelOfMercy.class));
|
||||
cards.add(new SetCardInfo("Angel of Vitality", 162, Rarity.UNCOMMON, mage.cards.a.AngelOfVitality.class));
|
||||
cards.add(new SetCardInfo("Angelic Cub", 163, Rarity.UNCOMMON, mage.cards.a.AngelicCub.class));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue