forked from External/mage
[DFT] Implement Count on Luck
This commit is contained in:
parent
cfa4b301e9
commit
a02dd90c95
2 changed files with 33 additions and 0 deletions
32
Mage.Sets/src/mage/cards/c/CountOnLuck.java
Normal file
32
Mage.Sets/src/mage/cards/c/CountOnLuck.java
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
package mage.cards.c;
|
||||
|
||||
import mage.abilities.effects.common.ExileTopXMayPlayUntilEffect;
|
||||
import mage.abilities.triggers.BeginningOfUpkeepTriggeredAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.Duration;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class CountOnLuck extends CardImpl {
|
||||
|
||||
public CountOnLuck(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.ENCHANTMENT}, "{R}{R}{R}");
|
||||
|
||||
// At the beginning of your upkeep, exile the top card of your library. You may play that card this turn.
|
||||
this.addAbility(new BeginningOfUpkeepTriggeredAbility(new ExileTopXMayPlayUntilEffect(1, Duration.EndOfTurn)));
|
||||
}
|
||||
|
||||
private CountOnLuck(final CountOnLuck card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public CountOnLuck copy() {
|
||||
return new CountOnLuck(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -29,6 +29,7 @@ public final class Aetherdrift extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Boosted Sloop", 190, Rarity.UNCOMMON, mage.cards.b.BoostedSloop.class));
|
||||
cards.add(new SetCardInfo("Brightfield Mustang", 5, Rarity.COMMON, mage.cards.b.BrightfieldMustang.class));
|
||||
cards.add(new SetCardInfo("Brightglass Gearhulk", 191, Rarity.MYTHIC, mage.cards.b.BrightglassGearhulk.class));
|
||||
cards.add(new SetCardInfo("Count on Luck", 118, Rarity.RARE, mage.cards.c.CountOnLuck.class));
|
||||
cards.add(new SetCardInfo("Daretti, Rocketeer Engineer", 120, Rarity.RARE, mage.cards.d.DarettiRocketeerEngineer.class));
|
||||
cards.add(new SetCardInfo("Dismal Backwater", 254, Rarity.COMMON, mage.cards.d.DismalBackwater.class));
|
||||
cards.add(new SetCardInfo("Earthrumbler", 160, Rarity.UNCOMMON, mage.cards.e.Earthrumbler.class));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue