[CMR] Implemented Ich-Tekik, Salvage Splicer

This commit is contained in:
Evan Kranzler 2020-11-03 07:49:18 -05:00
parent fff12f0381
commit b08e1c30ad
3 changed files with 67 additions and 0 deletions

View file

@ -0,0 +1,65 @@
package mage.cards.i;
import mage.MageInt;
import mage.abilities.Ability;
import mage.abilities.common.EntersBattlefieldTriggeredAbility;
import mage.abilities.common.PutIntoGraveFromBattlefieldAllTriggeredAbility;
import mage.abilities.effects.common.CreateTokenEffect;
import mage.abilities.effects.common.counter.AddCountersAllEffect;
import mage.abilities.effects.common.counter.AddCountersSourceEffect;
import mage.abilities.keyword.PartnerAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.SubType;
import mage.constants.SuperType;
import mage.counters.CounterType;
import mage.filter.FilterPermanent;
import mage.filter.StaticFilters;
import mage.filter.common.FilterControlledPermanent;
import mage.game.permanent.token.GolemToken;
import java.util.UUID;
/**
* @author TheElk801
*/
public final class IchTekikSalvageSplicer extends CardImpl {
private static final FilterPermanent filter = new FilterControlledPermanent(SubType.GOLEM);
public IchTekikSalvageSplicer(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{4}{G}");
this.addSuperType(SuperType.LEGENDARY);
this.subtype.add(SubType.HUMAN);
this.subtype.add(SubType.ARTIFICER);
this.power = new MageInt(1);
this.toughness = new MageInt(1);
// When Ich-Tekik, Salvage Splicer enters the battlefield, create a 3/3 colorless Golem artifact creature token.
this.addAbility(new EntersBattlefieldTriggeredAbility(new CreateTokenEffect(new GolemToken())));
// Whenever an artifact is put into a graveyard from the battlefield, put a +1/+1 counter on Ich-Tekik and a +1/+1 counter on each Golem you control.
Ability ability = new PutIntoGraveFromBattlefieldAllTriggeredAbility(
new AddCountersSourceEffect(CounterType.P1P1.createInstance()), false,
StaticFilters.FILTER_PERMANENT_ARTIFACT_AN, false, false
);
ability.addEffect(new AddCountersAllEffect(
CounterType.P1P1.createInstance(), filter
).setText("and a +1/+1 counter on each Golem you control"));
this.addAbility(ability);
// Partner
this.addAbility(PartnerAbility.getInstance());
}
private IchTekikSalvageSplicer(final IchTekikSalvageSplicer card) {
super(card);
}
@Override
public IchTekikSalvageSplicer copy() {
return new IchTekikSalvageSplicer(this);
}
}

View file

@ -106,6 +106,7 @@ public final class CommanderLegends extends ExpansionSet {
cards.add(new SetCardInfo("Horizon Scholar", 73, Rarity.UNCOMMON, mage.cards.h.HorizonScholar.class));
cards.add(new SetCardInfo("Horizon Stone", 315, Rarity.RARE, mage.cards.h.HorizonStone.class));
cards.add(new SetCardInfo("Hunter's Insight", 232, Rarity.UNCOMMON, mage.cards.h.HuntersInsight.class));
cards.add(new SetCardInfo("Ich-Tekik, Salvage Splicer", 580, Rarity.UNCOMMON, mage.cards.i.IchTekikSalvageSplicer.class));
cards.add(new SetCardInfo("Ikra Shidiqi, the Usurper", 519, Rarity.MYTHIC, mage.cards.i.IkraShidiqiTheUsurper.class));
cards.add(new SetCardInfo("Immaculate Magistrate", 234, Rarity.RARE, mage.cards.i.ImmaculateMagistrate.class));
cards.add(new SetCardInfo("Imoti, Celebrant of Bounty", 280, Rarity.UNCOMMON, mage.cards.i.ImotiCelebrantOfBounty.class));

View file

@ -39522,6 +39522,7 @@ Vial Smasher the Fierce|Commander Legends|540|M|{1}{B}{R}|Legendary Creature - G
Xenagos, God of Revels|Commander Legends|541|M|{3}{R}{G}|Legendary Enchantment Creature - God|6|5|Indestructible$As long as your devotion to red and green is less than seven, Xenagos isn't a creature.$At the beginning of combat on your turn, another target creature you control gains haste and gets +X/+X until end of turn, where X is that creature's power.|
Zur the Enchanter|Commander Legends|544|M|{1}{W}{U}{B}|Legendary Creature - Human Wizard|1|4|Flying$Whenever Zur the Enchanter attacks, you may search your library for an enchantment card with converted mana cost 3 or less and put it onto the battlefield. If you do, shuffle your library.|
Ramos, Dragon Engine|Commander Legends|545|M|{6}|Legendary Artifact Creature - Dragon|4|4|Flying$Whenever you cast a spell, put a +1/+1 counter on Ramos, Dragon Engine for each of that spell's colors.$Remove five +1/+1 counters from Ramos: Add {W}{W}{U}{U}{B}{B}{R}{R}{G}{G}. Activate this ability only once each turn.|
Ich-Tekik, Salvage Splicer|Commander Legends|580|U|{4}{G}|Legendary Creature - Human Artificer|1|1|When Ich-Tekik, Salvage Splicer enters the battlefield, create a 3/3 colorless Golem artifact creature token.$Whenever an artifact is put into a graveyard from the battlefield, put a +1/+1 counter on Ich-Tekik and a +1/+1 counter on each Golem you control.$Partner|
Armored Skyhunter|Commander Legends|617|R|{3}{W}|Creature - Cat Knight|3|3|Flying$Whenever Armored Skyhunter attacks, look at the top six cards of your library. You may put an Aura or Equipment card from among them onto the battlefield. If an Equipment is put onto the battlefield this way, you may attach it to a creature you control. Put the rest of those cards on the bottom of your library in a random order.|
Reshape the Earth|Commander Legends|683|M|{6}{G}{G}{G}|Sorcery|||Search your library for up to ten land cards, put them onto the battlefield tapped, then shuffle your library.|
Commander's Plate|Commander Legends|692|C|{1}|Artifact - Equipment|||Equipped creature gets +3/+3 and has protection from each color that's not in your commander's color identity.$Equip commaner {3}$Equip {5}|