forked from External/mage
Implemented Ignite the Beacon
This commit is contained in:
parent
837e83f911
commit
5ac35907d1
2 changed files with 37 additions and 0 deletions
36
Mage.Sets/src/mage/cards/i/IgniteTheBeacon.java
Normal file
36
Mage.Sets/src/mage/cards/i/IgniteTheBeacon.java
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
package mage.cards.i;
|
||||
|
||||
import mage.abilities.effects.common.search.SearchLibraryPutInHandEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.filter.FilterCard;
|
||||
import mage.target.common.TargetCardInLibrary;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class IgniteTheBeacon extends CardImpl {
|
||||
|
||||
private static final FilterCard filter = new FilterCard("planeswalker cards");
|
||||
|
||||
public IgniteTheBeacon(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{4}{W}");
|
||||
|
||||
// Search your library for up to to two planeswalker cards, reveal them, put them into your hand, then shuffle your library.
|
||||
this.getSpellAbility().addEffect(new SearchLibraryPutInHandEffect(
|
||||
new TargetCardInLibrary(0, 2, filter), true
|
||||
));
|
||||
}
|
||||
|
||||
private IgniteTheBeacon(final IgniteTheBeacon card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public IgniteTheBeacon copy() {
|
||||
return new IgniteTheBeacon(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -29,6 +29,7 @@ public final class WarOfTheSpark extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Forest", 263, Rarity.LAND, mage.cards.basiclands.Forest.class, NON_FULL_USE_VARIOUS));
|
||||
cards.add(new SetCardInfo("Forest", 264, Rarity.LAND, mage.cards.basiclands.Forest.class, NON_FULL_USE_VARIOUS));
|
||||
cards.add(new SetCardInfo("Herald of the Dreadhorde", 93, Rarity.COMMON, mage.cards.h.HeraldOfTheDreadhorde.class));
|
||||
cards.add(new SetCardInfo("Ignite the Beacon", 18, Rarity.RARE, mage.cards.i.IgniteTheBeacon.class));
|
||||
cards.add(new SetCardInfo("Invade the City", 201, Rarity.UNCOMMON, mage.cards.i.InvadeTheCity.class));
|
||||
cards.add(new SetCardInfo("Island", 253, Rarity.LAND, mage.cards.basiclands.Island.class, NON_FULL_USE_VARIOUS));
|
||||
cards.add(new SetCardInfo("Island", 254, Rarity.LAND, mage.cards.basiclands.Island.class, NON_FULL_USE_VARIOUS));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue