mirror of
https://github.com/correl/mage.git
synced 2024-12-26 03:00:11 +00:00
Implemented Drill Bit
This commit is contained in:
parent
4be028310a
commit
b33c1bf0b7
2 changed files with 42 additions and 0 deletions
41
Mage.Sets/src/mage/cards/d/DrillBit.java
Normal file
41
Mage.Sets/src/mage/cards/d/DrillBit.java
Normal file
|
@ -0,0 +1,41 @@
|
|||
package mage.cards.d;
|
||||
|
||||
import mage.abilities.costs.mana.ManaCostsImpl;
|
||||
import mage.abilities.effects.common.discard.DiscardCardYouChooseTargetEffect;
|
||||
import mage.abilities.keyword.SpectacleAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.TargetController;
|
||||
import mage.filter.StaticFilters;
|
||||
import mage.target.TargetPlayer;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class DrillBit extends CardImpl {
|
||||
|
||||
public DrillBit(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{2}{B}");
|
||||
|
||||
// Spectacle {B}
|
||||
this.addAbility(new SpectacleAbility(this, new ManaCostsImpl("{B}")));
|
||||
|
||||
// Target player reveals their hand. You choose a nonland card from it. That player discards that card.
|
||||
this.getSpellAbility().addEffect(new DiscardCardYouChooseTargetEffect(
|
||||
StaticFilters.FILTER_CARD_NON_LAND, TargetController.ANY
|
||||
));
|
||||
this.getSpellAbility().addTarget(new TargetPlayer());
|
||||
}
|
||||
|
||||
private DrillBit(final DrillBit card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public DrillBit copy() {
|
||||
return new DrillBit(this);
|
||||
}
|
||||
}
|
|
@ -55,6 +55,7 @@ public final class RavnicaAllegiance extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Depose // Deploy", 225, Rarity.UNCOMMON, mage.cards.d.DeposeDeploy.class));
|
||||
cards.add(new SetCardInfo("Deputy of Detention", 165, Rarity.RARE, mage.cards.d.DeputyOfDetention.class));
|
||||
cards.add(new SetCardInfo("Dovin, Grand Arbiter", 167, Rarity.MYTHIC, mage.cards.d.DovinGrandArbiter.class));
|
||||
cards.add(new SetCardInfo("Drill Bit", 73, Rarity.UNCOMMON, mage.cards.d.DrillBit.class));
|
||||
cards.add(new SetCardInfo("Electrodominance", 99, Rarity.RARE, mage.cards.e.Electrodominance.class));
|
||||
cards.add(new SetCardInfo("Emergency Powers", 169, Rarity.MYTHIC, mage.cards.e.EmergencyPowers.class));
|
||||
cards.add(new SetCardInfo("End-Raze Forerunners", 124, Rarity.RARE, mage.cards.e.EndRazeForerunners.class));
|
||||
|
|
Loading…
Reference in a new issue