Examples of CopyTargetSpellEffect


Examples of mage.abilities.effects.common.CopyTargetSpellEffect

                new CardTypePredicate(CardType.INSTANT),
                new CardTypePredicate(CardType.SORCERY)));
    }

    MirariTriggeredAbility() {
        super(Zone.BATTLEFIELD, new DoIfCostPaid(new CopyTargetSpellEffect(), new GenericManaCost(3)), false);
        this.addTarget(new TargetSpell(filter));
    }
View Full Code Here

Examples of mage.abilities.effects.common.CopyTargetSpellEffect

                game.informPlayers("Odds: Spell countered");
                return game.getStack().counter(getTargetPointer().getFirst(game, source), source.getSourceId(), game);

            } else {
                game.informPlayers("Odds: Spell will be copied");
                return new CopyTargetSpellEffect().apply(game, source);
            }
        }
        return false;
    }
View Full Code Here

Examples of mage.abilities.effects.common.CopyTargetSpellEffect

        this.expansionSetCode = "M11";
        this.color.setRed(true);
       
        // Copy target instant or sorcery spell. You may choose new targets for the copy.
        this.getSpellAbility().addTarget(new TargetSpell(filter));
        this.getSpellAbility().addEffect(new CopyTargetSpellEffect());
    }
View Full Code Here

Examples of mage.abilities.effects.common.CopyTargetSpellEffect

}

class ChandraTheFirebrandAbility extends DelayedTriggeredAbility {
    ChandraTheFirebrandAbility() {
        super(new CopyTargetSpellEffect(), Duration.EndOfTurn);
    }
View Full Code Here

Examples of mage.abilities.effects.common.CopyTargetSpellEffect

        // {1}{U}{R}: Draw a card, then discard a card.
        this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new DrawDiscardControllerEffect(), new ManaCostsImpl("{1}{U}{R}")));
       
        // {2}{U}{R}: Copy target instant or sorcery spell you control. You may choose new targets for the copy.
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new CopyTargetSpellEffect(), new ManaCostsImpl("{2}{U}{R}"));
        ability.addTarget(new TargetSpell(filter));
        this.addAbility(ability);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.