mirror of
https://github.com/correl/mage.git
synced 2025-03-31 01:07:39 -09:00
[VOW] Implemented Honeymoon Hearse
This commit is contained in:
parent
65f02b1a84
commit
56623c8dc2
3 changed files with 57 additions and 11 deletions
Mage.Sets/src/mage
|
@ -12,9 +12,6 @@ import mage.cards.CardImpl;
|
|||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.*;
|
||||
import mage.filter.StaticFilters;
|
||||
import mage.filter.common.FilterControlledCreaturePermanent;
|
||||
import mage.filter.common.FilterControlledPermanent;
|
||||
import mage.filter.predicate.permanent.TappedPredicate;
|
||||
import mage.game.Game;
|
||||
import mage.game.permanent.Permanent;
|
||||
import mage.game.permanent.PermanentCard;
|
||||
|
@ -29,13 +26,6 @@ import java.util.UUID;
|
|||
*/
|
||||
public final class Dermotaxi extends CardImpl {
|
||||
|
||||
private static final FilterControlledPermanent filter
|
||||
= new FilterControlledCreaturePermanent("untapped creatures you control");
|
||||
|
||||
static {
|
||||
filter.add(TappedPredicate.UNTAPPED);
|
||||
}
|
||||
|
||||
public Dermotaxi(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.ARTIFACT}, "{2}");
|
||||
|
||||
|
@ -51,7 +41,10 @@ public final class Dermotaxi extends CardImpl {
|
|||
|
||||
// Tap two untapped creatures you control: Until end of turn, Dermotaxi becomes a copy of the imprinted card, except it's a Vehicle artifact in addition to its other types.
|
||||
this.addAbility(new SimpleActivatedAbility(
|
||||
new DermotaxiCopyEffect(), new TapTargetCost(new TargetControlledPermanent(2, filter))
|
||||
new DermotaxiCopyEffect(),
|
||||
new TapTargetCost(new TargetControlledPermanent(
|
||||
2, StaticFilters.FILTER_CONTROLLED_UNTAPPED_CREATURES
|
||||
))
|
||||
));
|
||||
}
|
||||
|
||||
|
|
52
Mage.Sets/src/mage/cards/h/HoneymoonHearse.java
Normal file
52
Mage.Sets/src/mage/cards/h/HoneymoonHearse.java
Normal file
|
@ -0,0 +1,52 @@
|
|||
package mage.cards.h;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.common.SimpleActivatedAbility;
|
||||
import mage.abilities.costs.common.TapTargetCost;
|
||||
import mage.abilities.effects.common.continuous.AddCardTypeSourceEffect;
|
||||
import mage.abilities.keyword.TrampleAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.Duration;
|
||||
import mage.constants.SubType;
|
||||
import mage.filter.StaticFilters;
|
||||
import mage.target.common.TargetControlledPermanent;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class HoneymoonHearse extends CardImpl {
|
||||
|
||||
public HoneymoonHearse(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.ARTIFACT}, "{2}{R}");
|
||||
|
||||
this.subtype.add(SubType.VEHICLE);
|
||||
this.power = new MageInt(5);
|
||||
this.toughness = new MageInt(5);
|
||||
|
||||
// Trample
|
||||
this.addAbility(TrampleAbility.getInstance());
|
||||
|
||||
// Tap two untapped creatures you control: Honeymoon Hearse becomes an artifact creature until end of turn.
|
||||
this.addAbility(new SimpleActivatedAbility(
|
||||
new AddCardTypeSourceEffect(
|
||||
Duration.EndOfTurn, CardType.ARTIFACT, CardType.CREATURE
|
||||
),
|
||||
new TapTargetCost(new TargetControlledPermanent(
|
||||
2, StaticFilters.FILTER_CONTROLLED_UNTAPPED_CREATURES
|
||||
))
|
||||
));
|
||||
}
|
||||
|
||||
private HoneymoonHearse(final HoneymoonHearse card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public HoneymoonHearse copy() {
|
||||
return new HoneymoonHearse(this);
|
||||
}
|
||||
}
|
|
@ -73,6 +73,7 @@ public final class InnistradCrimsonVow extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Hallowed Haunting", 17, Rarity.MYTHIC, mage.cards.h.HallowedHaunting.class));
|
||||
cards.add(new SetCardInfo("Headless Rider", 118, Rarity.RARE, mage.cards.h.HeadlessRider.class));
|
||||
cards.add(new SetCardInfo("Hero's Downfall", 120, Rarity.UNCOMMON, mage.cards.h.HerosDownfall.class));
|
||||
cards.add(new SetCardInfo("Honeymoon Hearse", 160, Rarity.UNCOMMON, mage.cards.h.HoneymoonHearse.class));
|
||||
cards.add(new SetCardInfo("Honored Heirloom", 257, Rarity.COMMON, mage.cards.h.HonoredHeirloom.class));
|
||||
cards.add(new SetCardInfo("Inspired Idea", 64, Rarity.RARE, mage.cards.i.InspiredIdea.class));
|
||||
cards.add(new SetCardInfo("Investigator's Journal", 258, Rarity.RARE, mage.cards.i.InvestigatorsJournal.class));
|
||||
|
|
Loading…
Add table
Reference in a new issue