Package mage.abilities.dynamicvalue.common

Examples of mage.abilities.dynamicvalue.common.TargetConvertedManaCost


        this.color.setBlack(true);

        // Put target creature card from a graveyard onto the battlefield under your control. You lose life equal to its converted mana cost.
        getSpellAbility().addTarget(new TargetCardInGraveyard(new FilterCreatureCard("creature card from a graveyard")));
        getSpellAbility().addEffect(new ReturnFromGraveyardToBattlefieldTargetEffect())
        Effect effect = new LoseLifeSourceControllerEffect(new TargetConvertedManaCost());
        effect.setText("You lose life equal to its converted mana cost");
        getSpellAbility().addEffect(effect)
    }
View Full Code Here


        // Destroy target enchantment.
        this.getSpellAbility().addEffect(new DestroyTargetEffect());
        this.getSpellAbility().addTarget(new TargetPermanent(new FilterEnchantmentPermanent()));
        // Put X 1/1 green Saproling creature tokens onto the battlefield, where X is that enchantment's converted mana cost.
        this.getSpellAbility().addEffect(new CreateTokenEffect(new SaprolingToken(), new TargetConvertedManaCost()));
    }
View Full Code Here

        // Destroy target artifact. It can't be regenerated.
        this.getSpellAbility().addEffect(new DestroyTargetEffect(true));
        this.getSpellAbility().addTarget(new TargetPermanent(new FilterArtifactPermanent()));
        // Put X 1/1 green Saproling creature tokens onto the battlefield, where X is that artifact's converted mana cost.
        this.getSpellAbility().addEffect(new CreateTokenEffect(new SaprolingToken(), new TargetConvertedManaCost()));
    }
View Full Code Here

        // Destroy target nonblack creature. It can't be regenerated.
        this.getSpellAbility().addEffect(new DestroyTargetEffect(true));
        this.getSpellAbility().addTarget(new TargetPermanent(filter));
        // Put X 1/1 green Saproling creature tokens onto the battlefield, where X is that creature's converted mana cost.
        this.getSpellAbility().addEffect(new CreateTokenEffect(new SaprolingToken(), new TargetConvertedManaCost()));
    }
View Full Code Here

        // Return target creature to its owner's hand.
        this.getSpellAbility().addEffect(new ReturnToHandTargetEffect());
        this.getSpellAbility().addTarget(new TargetCreaturePermanent());
        // Put X 1/1 green Saproling creature tokens onto the battlefield, where X is that creature's converted mana cost.
        this.getSpellAbility().addEffect(new CreateTokenEffect(new SaprolingToken(), new TargetConvertedManaCost()));
    }
View Full Code Here

TOP

Related Classes of mage.abilities.dynamicvalue.common.TargetConvertedManaCost

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.