Package mage.abilities.keyword

Examples of mage.abilities.keyword.ForecastAbility.addTarget()


        // Return up to three target creature cards with converted mana cost 1 or less from your graveyard to the battlefield.
        this.getSpellAbility().addTarget(new TargetCardInYourGraveyard(0,3,filter3));
        this.getSpellAbility().addEffect(new ReturnFromGraveyardToBattlefieldTargetEffect());
        // Forecast - {5}{W}, Reveal Proclamation of Rebirth from your hand: Return target creature card with converted mana cost 1 or less from your graveyard to the battlefield.
        ForecastAbility ability = new ForecastAbility(new ReturnFromGraveyardToBattlefieldTargetEffect(), new ManaCostsImpl("{5}{W}"));
        ability.addTarget(new TargetCardInYourGraveyard(filter1));
        this.addAbility(ability);
    }

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


        // Creatures you control get +1/+1 until end of turn.
        this.getSpellAbility().addEffect(new BoostControlledEffect(1,1, Duration.EndOfTurn));
        // Forecast - {W}, Reveal Steeling Stance from your hand: Target creature gets +1/+1 until end of turn.
        Ability ability = new ForecastAbility(new BoostTargetEffect(1,1, Duration.EndOfTurn), new ManaCostsImpl("{W}"));
        ability.addTarget(new TargetCreaturePermanent());
        this.addAbility(ability);
    }

    public SteelingStance(final SteelingStance 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.