Examples of HeroicAbility


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

Examples of mage.abilities.keyword.HeroicAbility

        // 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
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.