forked from External/mage
[BLB] Implement Alania's Pathmaker
This commit is contained in:
parent
97fc14fe62
commit
4b3cce4b96
2 changed files with 40 additions and 0 deletions
39
Mage.Sets/src/mage/cards/a/AlaniasPathmaker.java
Normal file
39
Mage.Sets/src/mage/cards/a/AlaniasPathmaker.java
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
package mage.cards.a;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.common.EntersBattlefieldTriggeredAbility;
|
||||
import mage.abilities.effects.common.ExileTopXMayPlayUntilEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.Duration;
|
||||
import mage.constants.SubType;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class AlaniasPathmaker extends CardImpl {
|
||||
|
||||
public AlaniasPathmaker(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{3}{R}");
|
||||
|
||||
this.subtype.add(SubType.OTTER);
|
||||
this.subtype.add(SubType.WIZARD);
|
||||
this.power = new MageInt(4);
|
||||
this.toughness = new MageInt(2);
|
||||
|
||||
// When Alania's Pathmaker enters, exile the top card of your library. Until the end of your next turn, you may play that card.
|
||||
this.addAbility(new EntersBattlefieldTriggeredAbility(new ExileTopXMayPlayUntilEffect(1, Duration.UntilEndOfYourNextTurn)));
|
||||
}
|
||||
|
||||
private AlaniasPathmaker(final AlaniasPathmaker card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public AlaniasPathmaker copy() {
|
||||
return new AlaniasPathmaker(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -22,6 +22,7 @@ public final class Bloomburrow extends ExpansionSet {
|
|||
this.hasBoosters = false; // temporary
|
||||
|
||||
cards.add(new SetCardInfo("Agate Assault", 122, Rarity.COMMON, mage.cards.a.AgateAssault.class));
|
||||
cards.add(new SetCardInfo("Alania's Pathmaker", 123, Rarity.COMMON, mage.cards.a.AlaniasPathmaker.class));
|
||||
cards.add(new SetCardInfo("Bakersbane Duo", 163, Rarity.COMMON, mage.cards.b.BakersbaneDuo.class));
|
||||
cards.add(new SetCardInfo("Banishing Light", 1, Rarity.COMMON, mage.cards.b.BanishingLight.class));
|
||||
cards.add(new SetCardInfo("Bark-Knuckle Boxer", 164, Rarity.UNCOMMON, mage.cards.b.BarkKnuckleBoxer.class));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue