Package mage.abilities.keyword

Examples of mage.abilities.keyword.ConvokeAbility


    public ObeliskOfUrd(UUID ownerId) {
        super(ownerId, 222, "Obelisk of Urd", Rarity.RARE, new CardType[]{CardType.ARTIFACT}, "{6}");
        this.expansionSetCode = "M15";

        // Convoke
        this.addAbility(new ConvokeAbility());
       
        // As Obelisk of Urd enters the battlefield, choose a creature type.
        this.addAbility(new AsEntersBattlefieldAbility(new ObeliskOfUrdEnterBattlefieldEffect()));
       
        // Creatures you control of the chosen type get +2/+2.
View Full Code Here


    @Override
    public boolean replaceEvent(GameEvent event, Ability source, Game game) {
        MageObject object = game.getObject(event.getSourceId());
        if (object != null) {
            Card card = (Card) object;
            Ability ability = new ConvokeAbility();
            card.addAbility(ability);
            ability.setControllerId(source.getControllerId());
            ability.setSourceId(card.getId());
            game.getState().addAbility(ability, source.getSourceId(), card);
        }
        return false;
    }
View Full Code Here

        this.expansionSetCode = "M15";

        this.color.setBlack(true);

        // Convoke
        this.addAbility(new ConvokeAbility());
       
        // Covenant of Blood deals 4 damage to target creature or player
        Effect effect = new DamageTargetEffect(4);
        effect.setText("{this} deals 4 damage to target creature or player");
        this.getSpellAbility().addEffect(effect);
View Full Code Here

        this.expansionSetCode = "M15";

        this.color.setGreen(true);

        // Convoke
        this.addAbility(new ConvokeAbility());
        // Put three 3/3 green Beast creature tokens onto the battlefield.
        this.getSpellAbility().addEffect(new CreateTokenEffect(new BeastToken("M15", 1), 3));
    }
View Full Code Here

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

        // Convoke
        this.addAbility(new ConvokeAbility());
    }
View Full Code Here

        this.expansionSetCode = "M15";

        this.color.setRed(true);

        // Convoke
        this.addAbility(new ConvokeAbility());
       
        // Target creature gets +1/+0 and gains first strike until end of turn.
        Effect effect = new BoostTargetEffect(1, 0, Duration.EndOfTurn);
        effect.setText("Target creature gets +1/+0");
        this.getSpellAbility().addEffect(effect);
View Full Code Here

        this.expansionSetCode = "M15";

        this.color.setRed(true);

        // Convoke
        this.addAbility(new ConvokeAbility());
       
        // Stoke the Flames deals 4 damage to target creature or player.
        this.getSpellAbility().addEffect(new DamageTargetEffect(4));
        this.getSpellAbility().addTarget(new TargetCreatureOrPlayer());
    }
View Full Code Here

        this.expansionSetCode = "M15";

        this.color.setWhite(true);

        // Convoke
        this.addAbility(new ConvokeAbility());
        // Target creature gains indestructible until end of turn.
        this.getSpellAbility().addEffect(new GainAbilityTargetEffect(IndestructibleAbility.getInstance(), Duration.EndOfTurn));
        this.getSpellAbility().addTarget(new TargetCreaturePermanent());
    }
View Full Code Here

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

        // Flash; convoke
        this.addAbility(FlashAbility.getInstance());
        this.addAbility(new ConvokeAbility());
        // Flying
        this.addAbility(FlyingAbility.getInstance());
        // When Angel of Salvation enters the battlefield, prevent the next 5 damage that would be dealt this turn to any number of target creatures and/or players, divided as you choose.
        Ability ability = new EntersBattlefieldTriggeredAbility(new PreventDamageToTargetMultiAmountEffect(Duration.EndOfTurn, 5));
        ability.addTarget(new TargetCreatureOrPlayerAmount(5));
View Full Code Here

        this.expansionSetCode = "M15";

        this.color.setBlack(true);

        // Convoke
        this.addAbility(new ConvokeAbility());
       
        // Return up to two target creature cards from your graveyard to your hand.
        this.getSpellAbility().addEffect(new ReturnFromGraveyardToHandTargetEffect());
        this.getSpellAbility().addTarget(new TargetCardInYourGraveyard(0, 2, new FilterCreatureCard("creature cards from your graveyard")));
    }
View Full Code Here

TOP

Related Classes of mage.abilities.keyword.ConvokeAbility

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.