package mage.cards.t; import mage.abilities.common.delayed.CopyNextSpellDelayedTriggeredAbility; import mage.abilities.effects.common.CreateDelayedTriggeredAbilityEffect; import mage.cards.CardImpl; import mage.cards.CardSetInfo; import mage.constants.CardType; import java.util.UUID; /** * @author TheElk801 */ public final class TeachByExample extends CardImpl { public TeachByExample(UUID ownerId, CardSetInfo setInfo) { super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{U/R}{U/R}"); // When you cast your next instant or sorcery spell this turn, copy that spell. You may choose new targets for the copy. this.getSpellAbility().addEffect(new CreateDelayedTriggeredAbilityEffect(new CopyNextSpellDelayedTriggeredAbility())); } private TeachByExample(final TeachByExample card) { super(card); } @Override public TeachByExample copy() { return new TeachByExample(this); } }