Package mage.abilities.keyword

Examples of mage.abilities.keyword.CyclingAbility


        // Resounding Thunder deals 3 damage to target creature or player.
        this.getSpellAbility().addEffect(new DamageTargetEffect(3));
        this.getSpellAbility().addTarget(new TargetCreatureOrPlayer());
        // Cycling {5}{B}{R}{G}
        this.addAbility(new CyclingAbility(new ManaCostsImpl("{5}{B}{R}{G}")));
        // When you cycle Resounding Thunder, it deals 6 damage to target creature or player.
        Ability ability = new CycleTriggeredAbility(new DamageTargetEffect(6));
        ability.addTarget(new TargetCreatureOrPlayer());
        this.addAbility(ability);
    }
View Full Code Here


        this.getSpellAbility().addEffect(new DamageAllEffect(3, filter));
        Effect effect = new DamagePlayersEffect(3);
        effect.setText("and each player");
        this.getSpellAbility().addEffect(effect);
        // Cycling {2}
        this.addAbility(new CyclingAbility(new ManaCostsImpl("{2}")));
    }
View Full Code Here

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

        // Target player discards a card at random.
        this.getSpellAbility().addEffect(new DiscardTargetEffect(1, true));
        this.getSpellAbility().addTarget(new TargetPlayer());
        // Cycling {5}{U}{B}{R}
        this.addAbility(new CyclingAbility(new ManaCostsImpl("{5}{U}{B}{R}")));
        // When you cycle Resounding Scream, target player discards two cards at random.
        Ability ability = new CycleTriggeredAbility(new DiscardTargetEffect(2, true));
        ability.addTarget(new TargetPlayer());
        this.addAbility(ability);
    }
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

        // Target creature gets +0/+4 until end of turn.
        this.getSpellAbility().addEffect(new BoostTargetEffect(0, 4, Duration.EndOfTurn));
        this.getSpellAbility().addTarget(new TargetCreaturePermanent());
        // Cycling {2}
        this.addAbility(new CyclingAbility(new ManaCostsImpl("{2}")));
    }
View Full Code Here

    public PollutedMire(UUID ownerId) {
        super(ownerId, 323, "Polluted Mire", Rarity.COMMON, new CardType[]{CardType.LAND}, "");
        this.expansionSetCode = "USG";

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

        super(ownerId, 213, "Scrap", Rarity.COMMON, new CardType[]{CardType.INSTANT}, "{2}{R}");
        this.expansionSetCode = "USG";
        this.color.setRed(true);
        this.getSpellAbility().addEffect(new DestroyTargetEffect());
        this.getSpellAbility().addTarget(new TargetPermanent(filter));
        this.addAbility(new CyclingAbility(new ManaCostsImpl("{2}")));
    }
View Full Code Here

        super(ownerId, 324, "Remote Isle", Rarity.COMMON, new CardType[]{CardType.LAND}, "");
        this.expansionSetCode = "USG";

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

        this.toughness = new MageInt(4);

        // Swampwalk
        this.addAbility(new SwampwalkAbility());
        // Cycling-Pay 2 life.
        this.addAbility(new CyclingAbility(new PayLifeCost(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.