Package mage.abilities.common

Examples of mage.abilities.common.DealsDamageToAPlayerAllTriggeredAbility


        this.toughness = new MageInt(3);

        // Whenever a Sliver deals combat damage to a player, its controller may draw a card.
        Effect effect = new DrawCardTargetEffect(1);
        effect.setText("its controller may draw a card");
        this.addAbility(new DealsDamageToAPlayerAllTriggeredAbility(effect,
                        new FilterCreaturePermanent("Sliver", "a Sliver"),
                        true, true, true));
    }
View Full Code Here


        this.toughness = new MageInt(3);

        // Whenever a Sliver deals combat damage to a player, its controller may put a 1/1 colorless Sliver creature token onto the battlefield.      
        Effect effect = new CreateTokenTargetEffect(new SliverToken());
        effect.setText("its controller may put a 1/1 colorless Sliver creature token onto the battlefield");
        this.addAbility(new DealsDamageToAPlayerAllTriggeredAbility(effect,
                        new FilterCreaturePermanent("Sliver", "a Sliver"),
                        true, true, true));       
    }
View Full Code Here

TOP

Related Classes of mage.abilities.common.DealsDamageToAPlayerAllTriggeredAbility

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.