Package mage.abilities.abilityword

Examples of mage.abilities.abilityword.ConstellationAbility.addTarget()


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

        // Constellation — Whenever Harvestguard Alseids or another enchantment enters the battlefield under your control, prevent all damage that would be dealt to target creature this turn.
        Ability ability = new ConstellationAbility(new PreventDamageToTargetEffect(Duration.EndOfTurn, Integer.MAX_VALUE), false);
        ability.addTarget(new TargetCreaturePermanent());
        this.addAbility(ability);
    }

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


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

        // Constellation - Whenever Agent of Erebos or another enchantment enters the battlefield under your control, exile all cards from target player's graveyard.
        Ability ability = new ConstellationAbility(new ExileGraveyardAllTargetPlayerEffect(), false);
        ability.addTarget(new TargetPlayer());
        this.addAbility(ability);
    }

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

        this.color.setGreen(true);

        // Constellation - Whenever Strength from the Fallen or another entchantment enters the battlefield under your control, target creature gets +X/+X until end of turn, where X is the number of creature cards in your graveyard.
        DynamicValue xValue = new CardsInControllerGraveyardCount(new FilterCreatureCard("creature cards"));
        Ability ability = new ConstellationAbility(new BoostTargetEffect(xValue, xValue, Duration.EndOfTurn, true));
        ability.addTarget(new TargetCreaturePermanent());
        this.addAbility(ability);

    }

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

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

        // Constellation - Whenever Whitewater Naiads or another enchantment enters the battlefield under your control, target creature can't be blocked this turn.
        Ability ability = new ConstellationAbility(new CantBeBlockedTargetEffect(Duration.EndOfTurn), false);
        ability.addTarget(new TargetCreaturePermanent());       
        this.addAbility(ability);
    }

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

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

        // Constellation — Whenever Thassa's Devourer or another enchantment enters the battlefield under your control, target player puts the top two cards of his or her library into his or her graveyard.
        Ability ability = new ConstellationAbility(new PutTopCardOfLibraryIntoGraveTargetEffect(2), false);
        ability.addTarget(new TargetPlayer());
        this.addAbility(ability);
    }

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

        this.color.setWhite(true);

        // Constellation — When Skybind or another enchantment enters the battlefield under your control, exile target nonenchantment permanent. Return that card to the battlefield under its owner's control at the beginning of the next end step.
        Ability ability = new ConstellationAbility(new SkybindEffect(), false);
        ability.addTarget(new TargetPermanent(filter));
        this.addAbility(ability);
    }

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

        this.power = new MageInt(5);
        this.toughness = new MageInt(4);

        // Constellation - Whenever Goldenhide Ox or another enchantment enters the battlefield under your control, target creature must be blocked this turn if able.
        Ability ability = new ConstellationAbility(new MustBeBlockedByAtLeastOneTargetEffect(Duration.EndOfTurn), false);
        ability.addTarget(new TargetCreaturePermanent());
        this.addAbility(ability);
    }

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

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

        // Constellation - Whenever Forgeborn Oreads or another enchantment enters the battlefield under your control, Forgeborn Oreads deals 1 damage to target creature or player.
        Ability ability = new ConstellationAbility(new DamageTargetEffect(1));
        ability.addTarget(new TargetCreatureOrPlayer());
        this.addAbility(ability);

    }

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

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

        // Constellation - Whenever Oakheart Dryads or another enchantment enters the battlefield under your control, target creature gets +1/+1 until end of turn.
        Ability ability = new ConstellationAbility(new BoostTargetEffect(1,1, Duration.EndOfTurn), false);
        ability.addTarget(new TargetCreaturePermanent());
        this.addAbility(ability);

    }

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

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

        // Constellation - Whenever Dreadbringer Lampads or another enchantment enters the battlefield under your control, target creature gains intimidate until end of turn.
        Ability ability = new ConstellationAbility(new GainAbilityTargetEffect(IntimidateAbility.getInstance(), Duration.EndOfTurn), false);
        ability.addTarget(new TargetCreaturePermanent());
        this.addAbility(ability);
    }

    public DreadbringerLampads(final DreadbringerLampads card) {
        super(card);
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.