Package mage.abilities.keyword

Examples of mage.abilities.keyword.HeroicAbility


        this.toughness = new MageInt(2);

        // Double strike
        this.addAbility(DoubleStrikeAbility.getInstance());
        // Heroic - Whenever you cast a spell that targets Fabled Hero, put a +1/+1 counter on Fabled Hero.
        this.addAbility(new HeroicAbility(new AddCountersSourceEffect(CounterType.P1P1.createInstance())));
    }
View Full Code Here


        // Vigilance
        this.addAbility(VigilanceAbility.getInstance());
        // Heroic - Whenever you cast a spell that targets Anax and Cymede, creatures you control get +1/+1 and gain trample until end of turn.
        Effect effect = new BoostControlledEffect(1,1, Duration.EndOfTurn, filter);
        effect.setText("creatures you control get +1/+1");
        Ability ability = new HeroicAbility(effect);
        effect = new GainAbilityControlledEffect(TrampleAbility.getInstance(), Duration.EndOfTurn, filter);
        effect.setText("and gain trample until end of turn");
        ability.addEffect(effect);
        this.addAbility(ability);
    }
View Full Code Here

TOP

Related Classes of mage.abilities.keyword.HeroicAbility

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.