Package mage.abilities.common

Examples of mage.abilities.common.AttackedByCreatureTriggeredAbility


    public GarrukApexPredatorEmblem() {
        setName("EMBLEM: Garruk, Apex Predator");
        Effect effect = new BoostTargetEffect(5,5,Duration.EndOfTurn);
        effect.setText("it gets +5/+5");
        Ability ability = new AttackedByCreatureTriggeredAbility(Zone.COMMAND, effect, false, true);
        effect = new GainAbilityTargetEffect(TrampleAbility.getInstance(), Duration.EndOfTurn,
                "and gains trample until end of turn");
        ability.addEffect(effect);
        this.getAbilities().add(ability);
    }
View Full Code Here

TOP

Related Classes of mage.abilities.common.AttackedByCreatureTriggeredAbility

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.