mirror of
https://github.com/correl/mage.git
synced 2024-11-15 03:00:16 +00:00
Implemented Brazen Borrower
This commit is contained in:
parent
8cdf656a3c
commit
cae1678ddc
3 changed files with 66 additions and 0 deletions
63
Mage.Sets/src/mage/cards/b/BrazenBorrower.java
Normal file
63
Mage.Sets/src/mage/cards/b/BrazenBorrower.java
Normal file
|
@ -0,0 +1,63 @@
|
|||
package mage.cards.b;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.common.CanBlockOnlyFlyingAbility;
|
||||
import mage.abilities.effects.common.ReturnToHandTargetEffect;
|
||||
import mage.abilities.keyword.FlashAbility;
|
||||
import mage.abilities.keyword.FlyingAbility;
|
||||
import mage.cards.AdventureCard;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
import mage.constants.TargetController;
|
||||
import mage.filter.FilterPermanent;
|
||||
import mage.filter.common.FilterNonlandPermanent;
|
||||
import mage.filter.predicate.permanent.ControllerPredicate;
|
||||
import mage.target.TargetPermanent;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class BrazenBorrower extends AdventureCard {
|
||||
|
||||
private static final FilterPermanent filter
|
||||
= new FilterNonlandPermanent("nonland permanent an opponent controls");
|
||||
|
||||
static {
|
||||
filter.add(new ControllerPredicate(TargetController.OPPONENT));
|
||||
}
|
||||
|
||||
public BrazenBorrower(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, new CardType[]{CardType.INSTANT}, "{1}{U}{U}", "Petty Theft", "{1}{U}");
|
||||
|
||||
this.subtype.add(SubType.FAERIE);
|
||||
this.subtype.add(SubType.ROGUE);
|
||||
this.power = new MageInt(3);
|
||||
this.toughness = new MageInt(1);
|
||||
|
||||
// Flash
|
||||
this.addAbility(FlashAbility.getInstance());
|
||||
|
||||
// Flying
|
||||
this.addAbility(FlyingAbility.getInstance());
|
||||
|
||||
// Bazen Borrower can block only creatures with flying.
|
||||
this.addAbility(new CanBlockOnlyFlyingAbility());
|
||||
|
||||
// Petty Theft
|
||||
// Return target nonland permanent an opponent controls to its owner's hand.
|
||||
this.getAdventureSpellAbility().addEffect(new ReturnToHandTargetEffect());
|
||||
this.getAdventureSpellAbility().addTarget(new TargetPermanent(filter));
|
||||
}
|
||||
|
||||
private BrazenBorrower(final BrazenBorrower card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public BrazenBorrower copy() {
|
||||
return new BrazenBorrower(this);
|
||||
}
|
||||
}
|
|
@ -47,6 +47,7 @@ public final class ThroneOfEldraine extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Bog Naughty", 80, Rarity.UNCOMMON, mage.cards.b.BogNaughty.class));
|
||||
cards.add(new SetCardInfo("Bonecrusher Giant", 115, Rarity.RARE, mage.cards.b.BonecrusherGiant.class));
|
||||
cards.add(new SetCardInfo("Bramblefort Fink", 311, Rarity.UNCOMMON, mage.cards.b.BramblefortFink.class));
|
||||
cards.add(new SetCardInfo("Brazen Borrower", 39, Rarity.MYTHIC, mage.cards.b.BrazenBorrower.class));
|
||||
cards.add(new SetCardInfo("Brimstone Trebuchet", 116, Rarity.COMMON, mage.cards.b.BrimstoneTrebuchet.class));
|
||||
cards.add(new SetCardInfo("Burning-Yard Trainer", 117, Rarity.UNCOMMON, mage.cards.b.BurningYardTrainer.class));
|
||||
cards.add(new SetCardInfo("Castle Ardenvale", 238, Rarity.RARE, mage.cards.c.CastleArdenvale.class));
|
||||
|
|
|
@ -36033,6 +36033,8 @@ Venerable Knight|Throne of Eldraine|35|U|{W}|Creature - Human Knight|2|1|When Ve
|
|||
Worthy Knight|Throne of Eldraine|36|R|{1}{W}|Creature - Human Knight|2|2|Whenever you cast a Knight spell, create a 1/1 white Human creature token.|
|
||||
Animating Faerie|Throne of Eldraine|38|U|{2}{U}|Creature - Faerie|2|2|Flying|
|
||||
Bring to Life|Throne of Eldraine|38|U|{2}{U}|Sorcery - Adventure|2|2|Target noncreature artifact you control becomes a 0/0 artifact creature. Put four +1/+1 counters on it.|
|
||||
Brazen Borrower|Throne of Eldraine|39|M|{1}{U}{U}|Creature - Faerie Rogue|3|1|Flash$Flying$Bazen Borrower can block only creatures with flying.|
|
||||
Petty Theft|Throne of Eldraine|39|M|{1}{U}|Instant - Adventure|3|1|Return target nonland permanent an opponent controls to its owner's hand.|
|
||||
Corridor Monitor|Throne of Eldraine|41|C|{1}{U}|Artifact Creature - Construct|1|4|When Corridor Monitor enters the battlefield, untap target artifact or creature you control.|
|
||||
Emry, Lurker of the Loch|Throne of Eldraine|43|R|{2}{U}|Legendary Creature - Merfolk Wizard|1|2|This spell costs {1} less to cast for each artifact you control.$When Emry, Lurker of the Loch enters the battlefield, put the top four cards of your library into your graveyard.${T}: Choose target artifact card in your graveyard. You may cast that card this turn.|
|
||||
Fae of Wishes|Throne of Eldraine|44|R|{1}{U}|Creature - Faerie Wizard|1|4|Flying${1}{U}, Discard two cards: Return Fae of Wishes to its owner's hand.|
|
||||
|
|
Loading…
Reference in a new issue