[BRO] Implement Third Path Iconoclast

This commit is contained in:
Evan Kranzler 2022-11-01 20:01:15 -04:00
parent b67824a9ae
commit c36c1851f4
2 changed files with 44 additions and 0 deletions

View file

@ -0,0 +1,43 @@
package mage.cards.t;
import mage.MageInt;
import mage.abilities.common.SpellCastControllerTriggeredAbility;
import mage.abilities.effects.common.CreateTokenEffect;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.SubType;
import mage.filter.StaticFilters;
import mage.game.permanent.token.SoldierArtifactToken;
import java.util.UUID;
/**
* @author TheElk801
*/
public final class ThirdPathIconoclast extends CardImpl {
public ThirdPathIconoclast(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{U}{R}");
this.subtype.add(SubType.HUMAN);
this.subtype.add(SubType.MONK);
this.power = new MageInt(2);
this.toughness = new MageInt(1);
// Whenever you cast a noncreature spell, create a 1/1 colorless Soldier artifact creature token.
this.addAbility(new SpellCastControllerTriggeredAbility(
new CreateTokenEffect(new SoldierArtifactToken()),
StaticFilters.FILTER_SPELL_A_NON_CREATURE, false
));
}
private ThirdPathIconoclast(final ThirdPathIconoclast card) {
super(card);
}
@Override
public ThirdPathIconoclast copy() {
return new ThirdPathIconoclast(this);
}
}

View file

@ -97,6 +97,7 @@ public final class TheBrothersWar extends ExpansionSet {
cards.add(new SetCardInfo("Teferi, Temporal Pilgrim", 66, Rarity.MYTHIC, mage.cards.t.TeferiTemporalPilgrim.class));
cards.add(new SetCardInfo("Terisian Mindbreaker", 83, Rarity.RARE, mage.cards.t.TerisianMindbreaker.class));
cards.add(new SetCardInfo("The Mightstone and Weakstone", "238a", Rarity.RARE, mage.cards.t.TheMightstoneAndWeakstone.class));
cards.add(new SetCardInfo("Third Path Iconoclast", 223, Rarity.UNCOMMON, mage.cards.t.ThirdPathIconoclast.class));
cards.add(new SetCardInfo("Third Path Savant", 67, Rarity.COMMON, mage.cards.t.ThirdPathSavant.class));
cards.add(new SetCardInfo("Thopter Mechanic", 68, Rarity.UNCOMMON, mage.cards.t.ThopterMechanic.class));
cards.add(new SetCardInfo("Thran Spider", 254, Rarity.RARE, mage.cards.t.ThranSpider.class));