Package mage.abilities.common

Examples of mage.abilities.common.AuraAttachedTriggeredAbility


        // Whenever an Aura becomes attached to Brood Keeper, put a 2/2 red Dragon creature token with flying onto the battlefield.
        // It has "{R}: This creature gets +1/+0 until end of turn."
        Effect effect = new CreateTokenEffect(new BroodKeeperDragonToken());
        effect.setText("put a 2/2 red Dragon creature token with flying onto the battlefield. It has \"{R}: This creature gets +1/+0 until end of turn.\"");
        this.addAbility(new AuraAttachedTriggeredAbility(effect, false));
    }
View Full Code Here


        this.color.setGreen(true);
        this.power = new MageInt(4);
        this.toughness = new MageInt(4);

        // Whenever an Aura becomes attached to Bramble Elemental, put two 1/1 green Saproling creature tokens onto the battlefield.
        this.addAbility(new AuraAttachedTriggeredAbility(new CreateTokenEffect(new SaprolingToken(),2),false));
    }
View Full Code Here

TOP

Related Classes of mage.abilities.common.AuraAttachedTriggeredAbility

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.