Package mage.abilities.keyword

Examples of mage.abilities.keyword.CyclingAbility


        ability2.addTarget(new TargetCardInASingleGraveyard(1, 1, new FilterCard()));
        this.addAbility(ability1);
        this.addAbility(ability2);
       
        // Cycling {2}{B}
        this.addAbility(new CyclingAbility(new ManaCostsImpl("{2}{B}")));
    }
View Full Code Here


        // Exile target attacking creature.
        this.getSpellAbility().addEffect(new ExileTargetEffect());
        this.getSpellAbility().addTarget(new TargetAttackingCreature());
        // Cycling {5}{G}{W}{U}
        this.addAbility(new CyclingAbility(new ManaCostsImpl("{5}{G}{W}{U}")));
        // When you cycle Resounding Silence, exile up to two target attacking creatures.
        Ability ability = new CycleTriggeredAbility(new ExileTargetEffect());
        TargetPermanent target = new TargetAttackingCreature(0, 2, new FilterAttackingCreature("up to two target attacking creatures"), false);
        ability.addTarget(target);
        this.addAbility(ability);
View Full Code Here

        this.color.setBlack(true);
        this.power = new MageInt(3);
        this.toughness = new MageInt(3);

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

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

        // Cycling {2}{G}
        this.addAbility(new CyclingAbility(new ManaCostsImpl("{2}{G}")));
        // When you cycle Krosan Tusker, you may search your library for a basic land card, reveal that card, put it into your hand, then shuffle your library.
        this.addAbility(new CycleTriggeredAbility(
                new SearchLibraryPutInHandEffect(new TargetCardInLibrary(new FilterBasicLandCard()), true, true),
                true));
    }
View Full Code Here

        // Put X 4/4 white Angel creature tokens with flying onto the battlefield.
        this.getSpellAbility().addEffect(new CreateTokenEffect(new AngelToken(), new ManacostVariableValue()));
       
        // Cycling {2}{W}
        this.addAbility(new CyclingAbility(new ManaCostsImpl<>("{2}{W}")));
       
        // When you cycle Decree of Justice, you may pay {X}. If you do, put X 1/1 white Soldier creature tokens onto the battlefield.
        Ability ability = new CycleTriggeredAbility(new DecreeOfJusticeCycleEffect(), true);
        this.addAbility(ability);
    }
View Full Code Here

        // Spark Spray deals 1 damage to target creature or player.
        this.getSpellAbility().addEffect(new DamageTargetEffect(1));
        this.getSpellAbility().addTarget(new TargetCreatureOrPlayer());

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

        this.expansionSetCode = "ALA";
        this.subtype.add("Beast");
        this.color.setWhite(true);
        this.power = new MageInt(5);
        this.toughness = new MageInt(5);
        this.addAbility(new CyclingAbility(new ManaCostsImpl("{2}")));
    }
View Full Code Here

        // You gain shroud until end of turn.
        this.getSpellAbility().addEffect(new GainAbilityControllerEffect(ShroudAbility.getInstance(), Duration.EndOfTurn));

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

    public Angelsong(UUID ownerId) {
        super(ownerId, 4, "Angelsong", Rarity.COMMON, new CardType[]{CardType.INSTANT}, "{1}{W}");
        this.expansionSetCode = "ALA";
        this.color.setWhite(true);
        this.getSpellAbility().addEffect(new PreventAllDamageByAllEffect(Duration.EndOfTurn, true));
        this.addAbility(new CyclingAbility(new ManaCostsImpl("{2}")));
    }
View Full Code Here

        this.color.setWhite(true);

    // {W}: The next time a black source of your choice would deal damage to you this turn, prevent that damage.
        this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new RuneOfProtectionBlackEffect() , 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.