Package mage.abilities.keyword

Examples of mage.abilities.keyword.FlashbackAbility


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


        // Burning Oil deals 3 damage to target attacking or blocking creature.
        this.getSpellAbility().addTarget(new TargetAttackingOrBlockingCreature());
        this.getSpellAbility().addEffect(new DamageTargetEffect(3));
        // Flashback {3}{W}
        this.addAbility(new FlashbackAbility(new ManaCostsImpl("{3}{W}"), TimingRule.INSTANT));
    }
View Full Code Here

        this.color.setRed(true);

        // Volcanic Spray deals 1 damage to each creature without flying and each player.
        this.getSpellAbility().addEffect(new DamageAllEffect(1, filter));
        // Flashback {1}{R}
        this.addAbility(new FlashbackAbility(new ManaCostsImpl("{1}{R}"), TimingRule.SORCERY));
    }
View Full Code Here

        this.color.setWhite(true);

        // Put two 1/1 white Spirit creature tokens with flying onto the battlefield.
        this.getSpellAbility().addEffect(new CreateTokenEffect(new SpiritWhiteToken("ISD"), 2));
        // Flashback {1}{B}
        this.addAbility(new FlashbackAbility(new ManaCostsImpl("{1}{B}"), TimingRule.SORCERY));
    }
View Full Code Here

        // Target player puts the top X cards of his or her library into his or her graveyard. If Increasing Confusion was cast from a graveyard, that player puts twice that many cards into his or her graveyard instead.
        this.getSpellAbility().addEffect(new IncreasingConfusionEffect());
        this.getSpellAbility().addTarget(new TargetPlayer());

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

        // Put five +1/+1 counters on target creature. If Increasing Savagery was cast from a graveyard, put ten +1/+1 counters on that creature instead.
        this.getSpellAbility().addEffect(new IncreasingSavageryEffect());
        this.getSpellAbility().addTarget(new TargetCreaturePermanent());

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

        // Target creature is unblockable this turn.
        this.getSpellAbility().addEffect(new UnblockableTargetEffect());
        this.getSpellAbility().addTarget(new TargetCreaturePermanent());
        // Flashback {U}
        this.addAbility(new FlashbackAbility(new ManaCostsImpl("{U}"), TimingRule.SORCERY));
    }
View Full Code Here

        // Return target permanent to its owner's hand.
        this.getSpellAbility().addEffect(new ReturnToHandTargetEffect());
        this.getSpellAbility().addTarget(new TargetPermanent());
        // Flashback {5}{U}{U}
        this.addAbility(new FlashbackAbility(new ManaCostsImpl("{5}{U}{U}"), TimingRule.SORCERY));
    }
View Full Code Here

        this.color.setBlue(true);

        // Each player puts the top five cards of his or her library into his or her graveyard.
        this.getSpellAbility().addEffect(new ChillOfForebodingEffect());
        // Flashback {7}{U}
        this.addAbility(new FlashbackAbility(new ManaCostsImpl("{7}{U}"), TimingRule.SORCERY));
    }
View Full Code Here

        // Return target creature you own to your hand.
        this.getSpellAbility().addTarget(new TargetCreaturePermanent(filter));
        this.getSpellAbility().addEffect(new ReturnToHandTargetEffect());
        // Flashback {W}
        this.addAbility(new FlashbackAbility(new ManaCostsImpl("{W}"), TimingRule.INSTANT));
    }
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.