Package mage.abilities.keyword

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


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

        // <i>Heroic</i> - Whenever you cast a spell that targets Anthousa, Setessan Hero, up to three target lands you control each become 2/2 Warrior creatures until end of turn. They're still lands.
        Ability ability = new HeroicAbility(new BecomesCreatureTargetEffect(new AnthousaWarriorToken(), "lands", Duration.EndOfTurn));
        ability.addTarget(new TargetControlledPermanent(0,3,new FilterLandPermanent("lands"), false));
        this.addAbility(ability);
    }

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