Package mage.abilities.keyword

Examples of mage.abilities.keyword.FlashbackAbility


        // Search your library for a card and put that card into your hand. If Increasing Ambition was cast from a graveyard, instead search your library for two cards and put those cards into your hand. Then shuffle your library.
        this.getSpellAbility().addEffect(new IncreasingAmbitionEffect());

        // Flashback {7}{B}
        this.addAbility(new FlashbackAbility(new ManaCostsImpl("{7}{B}"), TimingRule.SORCERY));
    }
View Full Code Here


        // Target player sacrifices a creature.       
        this.getSpellAbility().addEffect(new SacrificeEffect(new FilterCreaturePermanent(), 1, "Target player"));
        this.getSpellAbility().addTarget(new TargetPlayer());
       
        // Flashback {5}{B}{B}
        this.addAbility(new FlashbackAbility(new ManaCostsImpl("{5}{B}{B}"), TimingRule.SORCERY));
    }
View Full Code Here

        this.color.setBlue(true);

        // Search your library for an instant card or a card with flash, reveal it, and put it into your hand. Then shuffle your library.
        this.getSpellAbility().addEffect(new SearchLibraryPutInHandEffect(new TargetCardInLibrary(filter), true, true));
        // Flashback {5}{B}
        this.addAbility(new FlashbackAbility(new ManaCostsImpl("{5}{B}"), TimingRule.INSTANT));
    }
View Full Code Here

        // Put a 6/6 green Wurm creature token onto the battlefield.
        this.getSpellAbility().addEffect(new CreateTokenEffect(new WurmToken()));

        // Flashback {3}{G}
        this.addAbility(new FlashbackAbility(new ManaCostsImpl("{3}{G}"), TimingRule.SORCERY));
    }
View Full Code Here

        // Morbid Hunger deals 3 damage to target creature or player. You gain 3 life.
        this.getSpellAbility().addEffect(new DamageTargetEffect(3));
        this.getSpellAbility().addTarget(new TargetCreatureOrPlayer());
        this.getSpellAbility().addEffect(new GainLifeEffect(3));
        // Flashback {7}{B}{B}
        this.addAbility(new FlashbackAbility(new ManaCostsImpl("{7}{B}{B}"), TimingRule.SORCERY));
       
    }
View Full Code Here

        // Exile target card from a graveyard.
       
        this.getSpellAbility().addEffect(new ExileTargetEffect());
        this.getSpellAbility().addTarget(new TargetCardInGraveyard());
        // Flashback {B}
        this.addAbility(new FlashbackAbility(new ManaCostsImpl("{B}"), TimingRule.INSTANT));
    }
View Full Code Here

        this.color.setGreen(true);

        // Put a 3/3 green Elephant creature token onto the battlefield.
        this.getSpellAbility().addEffect(new CreateTokenEffect(new ElephantToken()));
        // Flashback {3}{G}
        this.addAbility(new FlashbackAbility(new ManaCostsImpl("{3}{G}"), TimingRule.SORCERY));
    }
View Full Code Here

        this.expansionSetCode = "DKA";

        this.color.setBlack(true);

        this.getSpellAbility().addEffect(new CreateTokenEffect(new ZombieToken("ISD")));
        this.addAbility(new FlashbackAbility(new ManaCostsImpl("{4}{U}"), TimingRule.SORCERY));
    }
View Full Code Here

        // Firebolt deals 2 damage to target creature or player.
        this.getSpellAbility().addEffect(new DamageTargetEffect(2));
        this.getSpellAbility().addTarget(new TargetCreatureOrPlayer());
        // Flashback {4}{R}
        this.addAbility(new FlashbackAbility(new ManaCostsImpl("{4}{R}"), TimingRule.SORCERY));
    }
View Full Code Here

        this.getSpellAbility().addEffect(new GainAbilityTargetEffect(DeathtouchAbility.getInstance(), Duration.EndOfTurn));
        this.getSpellAbility().addEffect(new MustBeBlockedByAtLeastOneTargetEffect(Duration.EndOfTurn));
        this.getSpellAbility().addTarget(new TargetCreaturePermanent());

        // Flashback {G}
        this.addAbility(new FlashbackAbility(new ManaCostsImpl("{G}"), TimingRule.SORCERY));

    }
View Full Code Here

TOP

Related Classes of mage.abilities.keyword.FlashbackAbility

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.