mirror of
https://github.com/correl/mage.git
synced 2024-12-26 03:00:11 +00:00
[SNC] Implemented Capenna Express
This commit is contained in:
parent
8218d8fa38
commit
05950bb81c
2 changed files with 49 additions and 0 deletions
48
Mage.Sets/src/mage/cards/c/CapennaExpress.java
Normal file
48
Mage.Sets/src/mage/cards/c/CapennaExpress.java
Normal file
|
@ -0,0 +1,48 @@
|
|||
package mage.cards.c;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.common.SimpleActivatedAbility;
|
||||
import mage.abilities.costs.common.SacrificeTargetCost;
|
||||
import mage.abilities.effects.common.continuous.AddCardTypeSourceEffect;
|
||||
import mage.abilities.keyword.CrewAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.Duration;
|
||||
import mage.constants.SubType;
|
||||
import mage.filter.common.FilterControlledPermanent;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class CapennaExpress extends CardImpl {
|
||||
|
||||
private static final FilterControlledPermanent filter = new FilterControlledPermanent(SubType.TREASURE);
|
||||
|
||||
public CapennaExpress(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.ARTIFACT}, "{3}{G}");
|
||||
|
||||
this.subtype.add(SubType.VEHICLE);
|
||||
this.power = new MageInt(6);
|
||||
this.toughness = new MageInt(6);
|
||||
|
||||
// Sacrifice a Treasure: Capenna Express becomes an artifact creature until end of turn.
|
||||
this.addAbility(new SimpleActivatedAbility(new AddCardTypeSourceEffect(
|
||||
Duration.EndOfTurn, CardType.ARTIFACT, CardType.CREATURE
|
||||
), new SacrificeTargetCost(filter)));
|
||||
|
||||
// Crew 3
|
||||
this.addAbility(new CrewAbility(3));
|
||||
}
|
||||
|
||||
private CapennaExpress(final CapennaExpress card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public CapennaExpress copy() {
|
||||
return new CapennaExpress(this);
|
||||
}
|
||||
}
|
|
@ -60,6 +60,7 @@ public final class StreetsOfNewCapenna extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Cabaretti Initiate", 137, Rarity.COMMON, mage.cards.c.CabarettiInitiate.class));
|
||||
cards.add(new SetCardInfo("Caldaia Strongarm", 138, Rarity.COMMON, mage.cards.c.CaldaiaStrongarm.class));
|
||||
cards.add(new SetCardInfo("Call In a Professional", 103, Rarity.UNCOMMON, mage.cards.c.CallInAProfessional.class));
|
||||
cards.add(new SetCardInfo("Capenna Express", 139, Rarity.COMMON, mage.cards.c.CapennaExpress.class));
|
||||
cards.add(new SetCardInfo("Case the Joint", 37, Rarity.COMMON, mage.cards.c.CaseTheJoint.class));
|
||||
cards.add(new SetCardInfo("Celebrity Fencer", 7, Rarity.COMMON, mage.cards.c.CelebrityFencer.class));
|
||||
cards.add(new SetCardInfo("Celestial Regulator", 174, Rarity.COMMON, mage.cards.c.CelestialRegulator.class));
|
||||
|
|
Loading…
Reference in a new issue