Examples of DealsDamageToAPlayerAllTriggeredAbility


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

Examples of mage.abilities.common.DealsDamageToAPlayerAllTriggeredAbility

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