Examples of addChoice()


Examples of mage.abilities.common.SimpleActivatedAbility.addChoice()

        this.addAbility(VigilanceAbility.getInstance());
        // {1}{W}: Prevent all damage that would be dealt to another target creature this turn by sources of the color of your choice.
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD,
                new AvacynGuardianAngelPreventToCreatureEffect(Duration.EndOfTurn, Integer.MAX_VALUE, false),
                new ManaCostsImpl("{1}{W}"));
        ability.addChoice(new ChoiceColor());
        ability.addTarget(new TargetCreaturePermanent(filter));       
        this.addAbility(ability);
       
        // {5}{W}{W}: Prevent all damage that would be dealt to target player this turn by sources of the color of your choice.
        ability = new SimpleActivatedAbility(Zone.BATTLEFIELD,
View Full Code Here

Examples of mage.abilities.common.SimpleActivatedAbility.addChoice()

       
        // {5}{W}{W}: Prevent all damage that would be dealt to target player this turn by sources of the color of your choice.
        ability = new SimpleActivatedAbility(Zone.BATTLEFIELD,
                new AvacynGuardianAngelPreventToPlayerEffect(Duration.EndOfTurn, Integer.MAX_VALUE, false),
                new ManaCostsImpl("{5}{W}{W}"));
        ability.addChoice(new ChoiceColor());
        ability.addTarget(new TargetPlayer());   
        this.addAbility(ability);
    }

    public AvacynGuardianAngel(final AvacynGuardianAngel card) {
View Full Code Here

Examples of mage.abilities.common.SimpleActivatedAbility.addChoice()

        // Whenever Jareth, Leonine Titan blocks, it gets +7/+7 until end of turn.
        this.addAbility(new BlocksTriggeredAbility(new BoostSourceEffect(7,7,Duration.EndOfTurn), false));
        // {W}: Jareth gains protection from the color of your choice until end of turn.
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new JarethsGainProtectionFromColorSourceEffect(), new ManaCostsImpl("{W}"));
        ability.addChoice(new ChoiceColor());
        this.addAbility(ability);

    }

    public JarethLeonineTitan(final JarethLeonineTitan card) {
View Full Code Here

Examples of mage.abilities.common.SimpleStaticAbility.addChoice()

        this.power = new MageInt(0);
        this.toughness = new MageInt(0);

        // As Primal Clay enters the battlefield, it becomes your choice of a 3/3 artifact creature, a 2/2 artifact creature with flying, or a 1/6 Wall artifact creature with defender in addition to its other types.
        Ability ability = new SimpleStaticAbility(Zone.BATTLEFIELD, new EntersBattlefieldEffect(new PrimalClayEffect(), "As {this} enters the battlefield, it becomes your choice of a 3/3 artifact creature, a 2/2 artifact creature with flying, or a 1/6 Wall artifact creature with defender in addition to its other types"));
        ability.addChoice(new PrimalClayChoice());
        this.addAbility(ability);
    }

    public PrimalClay(final PrimalClay card) {
        super(card);
View Full Code Here

Examples of mage.abilities.common.SimpleStaticAbility.addChoice()

        this.power = new MageInt(0);
        this.toughness = new MageInt(0);

        // As Primal Plasma enters the battlefield, it becomes your choice of a 3/3 creature, a 2/2 creature with flying, or a 1/6 creature with defender.
        Ability ability = new SimpleStaticAbility(Zone.BATTLEFIELD, new EntersBattlefieldEffect(new PrimalPlasmaEffect(), "As {this} enters the battlefield, it becomes your choice of a 3/3 creature, a 2/2 creature with flying, or a 1/6 creature with defender"));
        ability.addChoice(new PrimalPlasmaChoice());
        this.addAbility(ability);
    }

    public PrimalPlasma(final PrimalPlasma card) {
        super(card);
View Full Code Here

Examples of mage.abilities.common.SpellCastControllerTriggeredAbility.addChoice()

        // Whenever you cast a Spirit or Arcane spell, Kami of the Painted Road gains protection from the color of your choice until end of turn.
        Ability ability = new SpellCastControllerTriggeredAbility(new GainProtectionFromColorSourceEffect(Duration.EndOfTurn), filter, true);
        Choice colorChoice = new ChoiceColor();
        colorChoice.setMessage("Choose color (Kami of the Painted Road)");
        ability.addChoice(colorChoice);
        this.addAbility(ability);

    }

    public KamiOfThePaintedRoad(final KamiOfThePaintedRoad card) {
View Full Code Here

Examples of mage.abilities.mana.SimpleManaAbility.addChoice()

        this.power = new MageInt(2);
        this.toughness = new MageInt(2);

        // {tap}: Add X mana of any one color to your mana pool, where X is the number of Elves on the battlefield.
        Ability ability = new SimpleManaAbility(Zone.BATTLEFIELD, new WirewoodChannelerManaEffect(), new TapSourceCost());
        ability.addChoice(new ChoiceColor());
        this.addAbility(ability);
    }

    public WirewoodChanneler(final WirewoodChanneler card) {
        super(card);
View Full Code Here

Examples of mage.abilities.mana.SimpleManaAbility.addChoice()

        this.color.setGreen(true);

        // Exile a creature you control: Add X mana of any one color to your mana pool, where X is the exiled creature's converted mana cost plus one. Spend this mana only to cast creature spells.
        Ability ability = new SimpleManaAbility(Zone.BATTLEFIELD, new FoodChainManaEffect(), new ExileTargetCost(new TargetControlledCreaturePermanent(1, 1, new FilterControlledCreaturePermanent("a creature you control"), true)));
        ability.addChoice(new ChoiceColor());
        this.addAbility(ability);
    }

    public FoodChain(final FoodChain card) {
        super(card);
View Full Code Here

Examples of mage.abilities.mana.SimpleManaAbility.addChoice()

        this.addAbility(new EntersBattlefieldTappedAbility());
        // {2}, {tap}, Sacrifice Terrarion: Add two mana in any combination of colors to your mana pool.
        Ability ability = new SimpleManaAbility(Zone.BATTLEFIELD, new TerrarionManaEffect(), new GenericManaCost(2));
        ability.addCost(new TapSourceCost());
        ability.addCost(new SacrificeSourceCost());
        ability.addChoice(new ChoiceColor());
        ability.addChoice(new ChoiceColor());
        this.addAbility(ability);
        // When Terrarion is put into a graveyard from the battlefield, draw a card.
        this.addAbility(new PutIntoGraveFromBattlefieldTriggeredAbility(new DrawCardSourceControllerEffect(1)));
    }
View Full Code Here

Examples of mage.abilities.mana.SimpleManaAbility.addChoice()

        // {2}, {tap}, Sacrifice Terrarion: Add two mana in any combination of colors to your mana pool.
        Ability ability = new SimpleManaAbility(Zone.BATTLEFIELD, new TerrarionManaEffect(), new GenericManaCost(2));
        ability.addCost(new TapSourceCost());
        ability.addCost(new SacrificeSourceCost());
        ability.addChoice(new ChoiceColor());
        ability.addChoice(new ChoiceColor());
        this.addAbility(ability);
        // When Terrarion is put into a graveyard from the battlefield, draw a card.
        this.addAbility(new PutIntoGraveFromBattlefieldTriggeredAbility(new DrawCardSourceControllerEffect(1)));
    }
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.