[FDN] Implement Rite of the Dragoncaller

This commit is contained in:
ciaccona007 2024-11-01 23:37:12 -04:00
parent 6cc05fa3b0
commit 4eff968367
2 changed files with 38 additions and 0 deletions

View file

@ -0,0 +1,37 @@
package mage.cards.r;
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.filter.StaticFilters;
import mage.game.permanent.token.DragonToken2;
import java.util.UUID;
/**
*
* @author ciaccona007
*/
public final class RiteOfTheDragoncaller extends CardImpl {
public RiteOfTheDragoncaller(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.ENCHANTMENT}, "{4}{R}{R}");
// Whenever you cast an instant or sorcery spell, create a 5/5 red Dragon creature token with flying.
this.addAbility(new SpellCastControllerTriggeredAbility(
new CreateTokenEffect(new DragonToken2()),
StaticFilters.FILTER_SPELL_AN_INSTANT_OR_SORCERY, false
));
}
private RiteOfTheDragoncaller(final RiteOfTheDragoncaller card) {
super(card);
}
@Override
public RiteOfTheDragoncaller copy() {
return new RiteOfTheDragoncaller(this);
}
}

View file

@ -349,6 +349,7 @@ public final class Foundations extends ExpansionSet {
cards.add(new SetCardInfo("Revenge of the Rats", 67, Rarity.UNCOMMON, mage.cards.r.RevengeOfTheRats.class));
cards.add(new SetCardInfo("Rise of the Dark Realms", 183, Rarity.MYTHIC, mage.cards.r.RiseOfTheDarkRealms.class));
cards.add(new SetCardInfo("Rite of Replication", 711, Rarity.RARE, mage.cards.r.RiteOfReplication.class));
cards.add(new SetCardInfo("Rite of the Dragoncaller", 92, Rarity.MYTHIC, mage.cards.r.RiteOfTheDragoncaller.class));
cards.add(new SetCardInfo("River's Rebuke", 595, Rarity.RARE, mage.cards.r.RiversRebuke.class));
cards.add(new SetCardInfo("Rogue's Passage", 264, Rarity.UNCOMMON, mage.cards.r.RoguesPassage.class));
cards.add(new SetCardInfo("Ruby, Daring Tracker", 245, Rarity.UNCOMMON, mage.cards.r.RubyDaringTracker.class));