Package mage.abilities.keyword

Examples of mage.abilities.keyword.CyclingAbility


        this.color.setBlue(true);

        // Counter target spell unless its controller pays {1}.
        this.getSpellAbility().addTarget(new TargetSpell());
        this.getSpellAbility().addEffect(new CounterUnlessPaysEffect(new GenericManaCost(1)));
        this.addAbility(new CyclingAbility(new ManaCostsImpl("{2}")));
    }
View Full Code Here


        // Destroy target creature with power 4 or greater.
        this.getSpellAbility().addEffect(new DestroyTargetEffect());
        this.getSpellAbility().addTarget(new TargetCreaturePermanent(filter));
        // Cycling {2}
        this.addAbility(new CyclingAbility(new ManaCostsImpl("{2}")));
    }
View Full Code Here

        // Return target creature card with converted mana cost 3 or less from your graveyard to the battlefield.
        this.getSpellAbility().addEffect(new ReturnFromGraveyardToBattlefieldTargetEffect());
        this.getSpellAbility().addTarget(new TargetCardInYourGraveyard(filter));

        // Cycling {2}
        this.addAbility(new CyclingAbility(new ManaCostsImpl("{2}")));
    }
View Full Code Here

        // Target creature gets +3/+3 until end of turn.
        this.getSpellAbility().addEffect(new BoostTargetEffect(3, 3, Duration.EndOfTurn));
        this.getSpellAbility().addTarget(new TargetCreaturePermanent());
        // Cycling {5}{R}{G}{W}
        this.addAbility(new CyclingAbility(new ManaCostsImpl("{5}{R}{G}{W}")));
        // When you cycle Resounding Roar, target creature gets +6/+6 until end of turn.
        Ability ability = new CycleTriggeredAbility(new BoostTargetEffect(6, 6, Duration.EndOfTurn));
        ability.addTarget(new TargetCreaturePermanent());
        this.addAbility(ability);
    }
View Full Code Here

        this.color.setBlue(true);

        // Return all artifacts to their owners' hands.
        this.getSpellAbility().addEffect(new RebuildEffect());
        // Cycling {2}
        this.addAbility(new CyclingAbility(new ManaCostsImpl("{2}")));
    }
View Full Code Here

        super(ownerId, 69, "Molten Frame", Rarity.COMMON, new CardType[]{CardType.INSTANT}, "{1}{R}");
        this.expansionSetCode = "CON";
        this.color.setRed(true);
        this.getSpellAbility().addEffect(new DestroyTargetEffect());
        this.getSpellAbility().addTarget(new TargetCreaturePermanent(filter));
        this.addAbility(new CyclingAbility(new ManaCostsImpl("{2}")));
    }
View Full Code Here

        this.addAbility(new EnchantAbility(auraTarget.getTargetName()));

        PermanentsOnBattlefieldCount amount = new PermanentsOnBattlefieldCount(filter, 1);
        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new BoostEnchantedEffect(amount, amount, Duration.WhileOnBattlefield)));

        this.addAbility(new CyclingAbility(new ManaCostsImpl("{G/W}")));
    }
View Full Code Here

    public BlastedLandscape(UUID ownerId) {
        super(ownerId, 319, "Blasted Landscape", Rarity.UNCOMMON, new CardType[]{CardType.LAND}, "");
        this.expansionSetCode = "USG";

        this.addAbility(new ColorlessManaAbility());
        this.addAbility(new CyclingAbility(new ManaCostsImpl("{2}")));
    }
View Full Code Here

    public Rejuvenate (UUID ownerId) {
        super(ownerId, 271, "Rejuvenate", Rarity.COMMON, new CardType[]{CardType.SORCERY}, "{3}{G}");
        this.expansionSetCode = "USG";
    this.color.setGreen(true);
        this.getSpellAbility().addEffect(new GainLifeEffect(6));
        this.addAbility(new CyclingAbility(new ManaCostsImpl("{2}")));
    }
View Full Code Here

        this.color.setWhite(true);

    // {W}: The next time a green source of your choice would deal damage to you this turn, prevent that damage.
        this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new RuneOfProtectionGreenEffect() , new ManaCostsImpl("W")));
    // Cycling {2} ({2}, Discard this card: Draw a card.)
    this.addAbility(new CyclingAbility(new ManaCostsImpl("{2}")));
    }
View Full Code Here

TOP

Related Classes of mage.abilities.keyword.CyclingAbility

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.