Examples of BecomesBlockedAllTriggeredAbility


Examples of mage.abilities.common.BecomesBlockedAllTriggeredAbility

        this.addAbility(new ChampionAbility(this, new String[]{"Treefolk", "Warrior"}));
       
        // Whenever a creature you control becomes blocked, it gets +0/+5 until end of turn.
        Effect effect = new BoostTargetEffect(0, 5, Duration.EndOfTurn);
        effect.setText("it gets +0/+5 until end of turn");
        this.addAbility(new BecomesBlockedAllTriggeredAbility(effect, false, filter, true));

    }
View Full Code Here

Examples of mage.abilities.common.BecomesBlockedAllTriggeredAbility

        this.color.setRed(true);
        this.power = new MageInt(3);
        this.toughness = new MageInt(2);

        // Whenever another Goblin you control becomes blocked, sacrifice it. If you do, it deals 4 damage to each creature blocking it.
        this.addAbility(new BecomesBlockedAllTriggeredAbility(new IbHalfheartGoblinTacticianEffect(), false, filterGoblin, true));

        // Sacrifice two Mountains: Put two 1/1 red Goblin creature tokens onto the battlefield.
        this.addAbility(new SimpleActivatedAbility(
                Zone.BATTLEFIELD,
                new CreateTokenEffect(new GoblinToken("EVG"), 2),
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.