Package mage.abilities.keyword

Examples of mage.abilities.keyword.CyclingAbility


        this.color.setBlue(true);
        this.power = new MageInt(1);
        this.toughness = new MageInt(1);

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


        this.color.setGreen(true);

        //Prevent all combat damage that would be dealt this turn.
        this.getSpellAbility().addEffect(new PreventAllDamageByAllEffect(Duration.EndOfTurn, true));

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

        super(ownerId, 266, "Hush", Rarity.COMMON, new CardType[]{CardType.SORCERY}, "{3}{G}");
        this.expansionSetCode = "USG";
        this.color.setGreen(true);

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

        // Return target permanent to its owner's hand.
        this.getSpellAbility().addEffect(new ReturnToHandTargetEffect());
        this.getSpellAbility().addTarget(new TargetPermanent());
        // Cycling {5}{W}{U}{B}
        this.addAbility(new CyclingAbility(new ManaCostsImpl("{5}{W}{U}{B}")));
        // When you cycle Resounding Wave, return two target permanents to their owners' hands.
        Ability ability = new CycleTriggeredAbility(new ReturnToHandTargetEffect());
        TargetPermanent target = new TargetPermanent(2, new FilterPermanent("two target permanents"));
        ability.addTarget(target);
        this.addAbility(ability);
View Full Code Here

        this.color.setGreen(true);
        this.power = new MageInt(2);
        this.toughness = new MageInt(2);

        // Cycling {2}{G}{G}
        this.addAbility(new CyclingAbility(new ManaCostsImpl("{2}{G}{G}")));
        // When you cycle Gempalm Strider, Elf creatures get +2/+2 until end of turn.
        this.addAbility(new CycleTriggeredAbility(new BoostAllEffect(2,2,Duration.EndOfTurn, filter, false)));
    }
View Full Code Here

        Ability ability = new EntersBattlefieldControlledTriggeredAbility(new BoostSourceEffect(1, 1, Duration.EndOfTurn), filter,
                "Whenever another artifact enters the battlefield under your control, Glassdust Hulk gets +1/+1 until end of turn and is unblockable this turn.");
        ability.addEffect(new UnblockableSourceEffect(Duration.EndOfTurn));
        this.addAbility(ability);
       
        this.addAbility(new CyclingAbility(new ManaCostsImpl("{W/U}")));
    }
View Full Code Here

        ability2.addTarget(new TargetCreaturePermanent());
        this.addAbility(ability1);
        this.addAbility(ability2);
       
        // Cycling {2}{G}
        this.addAbility(new CyclingAbility(new ManaCostsImpl("{2}{G}")));
    }
View Full Code Here

        // When Deadshot Minotaur enters the battlefield, it deals 3 damage to target creature with flying.
        Ability ability = new EntersBattlefieldTriggeredAbility(new DamageTargetEffect(3), false);
        ability.addTarget(new TargetCreaturePermanent(filter));
        this.addAbility(ability);
        // Cycling {RG}
        this.addAbility(new CyclingAbility(new ManaCostsImpl("{R/G}")));
    }
View Full Code Here

        this.color.setGreen(true);
        this.power = new MageInt(2);
        this.toughness = new MageInt(2);

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

        // Counter target spell unless its controller pays {2}.
        this.getSpellAbility().addTarget(new TargetSpell());
        this.getSpellAbility().addEffect(new CounterUnlessPaysEffect(new GenericManaCost(2)));
        // Cycling {2}
        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.