[SNC] Implemented Cabaretti Initiate

This commit is contained in:
Evan Kranzler 2022-04-13 22:45:39 -04:00
parent a03d53908f
commit 1fb421be76
3 changed files with 45 additions and 0 deletions

View file

@ -0,0 +1,43 @@
package mage.cards.c;
import mage.MageInt;
import mage.abilities.common.SimpleActivatedAbility;
import mage.abilities.costs.mana.ManaCostsImpl;
import mage.abilities.effects.common.continuous.GainAbilitySourceEffect;
import mage.abilities.keyword.DoubleStrikeAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.Duration;
import mage.constants.SubType;
import java.util.UUID;
/**
* @author TheElk801
*/
public final class CabarettiInitiate extends CardImpl {
public CabarettiInitiate(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{G}");
this.subtype.add(SubType.RACCOON);
this.subtype.add(SubType.CITIZEN);
this.power = new MageInt(1);
this.toughness = new MageInt(2);
// {2}{R/W}: Cabaretti Initiate gains double strike until end of turn.
this.addAbility(new SimpleActivatedAbility(new GainAbilitySourceEffect(
DoubleStrikeAbility.getInstance(), Duration.EndOfTurn
), new ManaCostsImpl<>("{2}{R/W}")));
}
private CabarettiInitiate(final CabarettiInitiate card) {
super(card);
}
@Override
public CabarettiInitiate copy() {
return new CabarettiInitiate(this);
}
}

View file

@ -45,6 +45,7 @@ public final class StreetsOfNewCapenna extends ExpansionSet {
cards.add(new SetCardInfo("Cabaretti Ascendency", 172, Rarity.RARE, mage.cards.c.CabarettiAscendency.class));
cards.add(new SetCardInfo("Cabaretti Charm", 173, Rarity.UNCOMMON, mage.cards.c.CabarettiCharm.class));
cards.add(new SetCardInfo("Cabaretti Courtyard", 249, Rarity.COMMON, mage.cards.c.CabarettiCourtyard.class));
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("Celebrity Fencer", 7, Rarity.COMMON, mage.cards.c.CelebrityFencer.class));
cards.add(new SetCardInfo("Cemetery Tampering", 69, Rarity.RARE, mage.cards.c.CemeteryTampering.class));

View file

@ -293,6 +293,7 @@ public enum SubType {
QUARREN("Quarren", SubTypeSet.CreatureType, true), // Star Wars
// R
RABBIT("Rabbit", SubTypeSet.CreatureType),
RACCOON("Raccoon", SubTypeSet.CreatureType),
RAIDER("Raider", SubTypeSet.CreatureType, true), // Star Wars
RANGER("Ranger", SubTypeSet.CreatureType),
RAT("Rat", SubTypeSet.CreatureType),