Package mage.abilities.effects.common

Examples of mage.abilities.effects.common.PreventNextDamageFromChosenSourceToYouEffect


        this.expansionSetCode = "ICE";

        this.color.setWhite(true);

        // {1}: The next time a green source of your choice would deal damage to you this turn, prevent that damage.
        Effect effect = new PreventNextDamageFromChosenSourceToYouEffect(Duration.EndOfTurn, filter);
        this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, effect, new ManaCostsImpl("1")));
    }
View Full Code Here


        this.expansionSetCode = "ICE";

        this.color.setWhite(true);

        // {1}: The next time a red source of your choice would deal damage to you this turn, prevent that damage.
        Effect effect = new PreventNextDamageFromChosenSourceToYouEffect(Duration.EndOfTurn, filter);
        this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, effect, new ManaCostsImpl("1")));
    }
View Full Code Here

        this.expansionSetCode = "ICE";

        this.color.setWhite(true);

        // {1}: The next time a blue source of your choice would deal damage to you this turn, prevent that damage.
        Effect effect = new PreventNextDamageFromChosenSourceToYouEffect(Duration.EndOfTurn, filter);
        this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, effect, new ManaCostsImpl("1")));
    }
View Full Code Here

        this.expansionSetCode = "ICE";

        this.color.setWhite(true);

        // {1}: The next time a black source of your choice would deal damage to you this turn, prevent that damage.
        Effect effect = new PreventNextDamageFromChosenSourceToYouEffect(Duration.EndOfTurn, filter);
        this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, effect, new ManaCostsImpl("1")));
    }
View Full Code Here

    public PentagramOfTheAges(UUID ownerId) {
        super(ownerId, 307, "Pentagram of the Ages", Rarity.RARE, new CardType[]{CardType.ARTIFACT}, "{4}");
        this.expansionSetCode = "ICE";

        // {4}, {tap}: The next time a source of your choice would deal damage to you this turn, prevent that damage.
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new PreventNextDamageFromChosenSourceToYouEffect(Duration.EndOfTurn), new GenericManaCost(4));
        ability.addCost(new TapSourceCost());
        this.addAbility(ability);
    }
View Full Code Here

        this.expansionSetCode = "ICE";

        this.color.setWhite(true);

        // {1}: The next time a white source of your choice would deal damage to you this turn, prevent that damage.
        Effect effect = new PreventNextDamageFromChosenSourceToYouEffect(Duration.EndOfTurn, filter);
        this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, effect, new ManaCostsImpl("1")));;
    }
View Full Code Here

TOP

Related Classes of mage.abilities.effects.common.PreventNextDamageFromChosenSourceToYouEffect

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.