mirror of
https://github.com/magefree/mage.git
synced 2026-01-26 21:29:17 -08:00
[DFT] Implement Trip Up
This commit is contained in:
parent
2451244827
commit
70868ad4ab
2 changed files with 38 additions and 0 deletions
37
Mage.Sets/src/mage/cards/t/TripUp.java
Normal file
37
Mage.Sets/src/mage/cards/t/TripUp.java
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
package mage.cards.t;
|
||||
|
||||
import mage.abilities.costs.mana.ManaCostsImpl;
|
||||
import mage.abilities.effects.common.PutOnTopOrBottomLibraryTargetEffect;
|
||||
import mage.abilities.keyword.CyclingAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.target.common.TargetNonlandPermanent;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class TripUp extends CardImpl {
|
||||
|
||||
public TripUp(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{3}{U}");
|
||||
|
||||
// Target nonland permanent's owner puts it on their choice of the top or bottom of their library.
|
||||
this.getSpellAbility().addEffect(new PutOnTopOrBottomLibraryTargetEffect(false));
|
||||
this.getSpellAbility().addTarget(new TargetNonlandPermanent());
|
||||
|
||||
// Cycling {2}
|
||||
this.addAbility(new CyclingAbility(new ManaCostsImpl<>("{2}")));
|
||||
}
|
||||
|
||||
private TripUp(final TripUp card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public TripUp copy() {
|
||||
return new TripUp(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -216,6 +216,7 @@ public final class Aetherdrift extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Trade the Helm", 69, Rarity.UNCOMMON, mage.cards.t.TradeTheHelm.class));
|
||||
cards.add(new SetCardInfo("Tranquil Cove", 267, Rarity.COMMON, mage.cards.t.TranquilCove.class));
|
||||
cards.add(new SetCardInfo("Transit Mage", 70, Rarity.UNCOMMON, mage.cards.t.TransitMage.class));
|
||||
cards.add(new SetCardInfo("Trip Up", 71, Rarity.COMMON, mage.cards.t.TripUp.class));
|
||||
cards.add(new SetCardInfo("Tyrox, Saurid Tyrant", 149, Rarity.UNCOMMON, mage.cards.t.TyroxSauridTyrant.class));
|
||||
cards.add(new SetCardInfo("Unstoppable Plan", 72, Rarity.RARE, mage.cards.u.UnstoppablePlan.class));
|
||||
cards.add(new SetCardInfo("Unswerving Sloth", 34, Rarity.UNCOMMON, mage.cards.u.UnswervingSloth.class));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue