Package mage.abilities.common

Examples of mage.abilities.common.SpellCastOpponentTriggeredAbility


        this.expansionSetCode = "TMP";

        this.color.setBlue(true);

        // Whenever an opponent casts a green spell, you draw a card.
        this.addAbility(new SpellCastOpponentTriggeredAbility(new DrawCardSourceControllerEffect(1), filter, false));
    }
View Full Code Here


        // First strike
        this.addAbility(FirstStrikeAbility.getInstance());

        // Whenever an opponent casts a white or blue instant or sorcery spell, Mindsparker deals 2 damage to that player.
        this.addAbility(new SpellCastOpponentTriggeredAbility(Zone.BATTLEFIELD, new MindsparkerEffect(), filter, false, SetTargetPointer.PLAYER));

    }
View Full Code Here

        this.expansionSetCode = "TMP";

        this.color.setWhite(true);

        // Whenever an opponent casts a red spell, you gain 2 life.
        this.addAbility(new SpellCastOpponentTriggeredAbility(new GainLifeEffect(2), filter, false));
    }
View Full Code Here

        this.addAbility(new ChancellorAbility(new ChancellorOfTheAnnexEffect()));

        this.addAbility(FlyingAbility.getInstance());

        // Whenever an opponent casts a spell, counter it unless that player pays {1}.
        this.addAbility(new SpellCastOpponentTriggeredAbility(Zone.BATTLEFIELD, new CounterUnlessPaysEffect(new GenericManaCost(1)), new FilterSpell(), false, SetTargetPointer.SPELL));
    }
View Full Code Here

        this.expansionSetCode = "CSP";

        this.color.setBlue(true);

        // Whenever an opponent casts a spell, you may reveal the top card of your library. If you do, counter that spell if it has the same converted mana cost as the revealed card.
        this.addAbility(new SpellCastOpponentTriggeredAbility(Zone.BATTLEFIELD, new CounterbalanceEffect(), new FilterSpell(), true, SetTargetPointer.SPELL));
    }
View Full Code Here

        // Changeling
        this.addAbility(ChangelingAbility.getInstance());
       
        // Whenever an opponent casts a spell, you may put a +1/+1 counter on Taurean Mauler.
        this.addAbility(new SpellCastOpponentTriggeredAbility(new AddCountersSourceEffect(CounterType.P1P1.createInstance()), true));
       
    }
View Full Code Here

        this.expansionSetCode = "M10";

        this.color.setGreen(true);

        // Whenever an opponent casts a spell, reveal the top card of your library. If it's a creature card, put it onto the battlefield. Otherwise, you may put that card on the bottom of your library.
        this.addAbility(new SpellCastOpponentTriggeredAbility(new LurkingPredatorsEffect(), false));
    }
View Full Code Here

        // Reach
        this.addAbility(ReachAbility.getInstance());

        // Whenever an opponent casts a spell, put a 1/1 green Insect creature token onto the battlefield.
        this.addAbility(new SpellCastOpponentTriggeredAbility(new CreateTokenEffect(new InsectToken()), false));


    }
View Full Code Here

        this.toughness = new MageInt(1);

        // Protection from multicolored
        this.addAbility(new ProtectionAbility(filter));
        // Whenever an opponent casts a multicolored spell, you gain 1 life.
        this.addAbility(new SpellCastOpponentTriggeredAbility(Zone.BATTLEFIELD, new GainLifeEffect(1), filterSpell, false));

    }
View Full Code Here

        this.expansionSetCode = "LRW";

        this.color.setBlue(true);

        // Whenever an opponent casts a spell, that player draws seven cards.
        this.addAbility(new SpellCastOpponentTriggeredAbility(Zone.BATTLEFIELD, new DrawCardTargetEffect(7),
                new FilterSpell(), false, SetTargetPointer.PLAYER));
    }
View Full Code Here

TOP

Related Classes of mage.abilities.common.SpellCastOpponentTriggeredAbility

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.