Package mage.abilities.common

Examples of mage.abilities.common.BlocksTriggeredAbility


    this.color.setWhite(true);
    this.power = new MageInt(0);
    this.toughness = new MageInt(1);

    this.addAbility(FlyingAbility.getInstance());
    this.addAbility(new BlocksTriggeredAbility(new GainLifeEffect(4), true));

  }
View Full Code Here


        // Guardian of the Gateless can block any number of creatures.
        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new CanBlockAdditionalCreatureEffect(0)));

        // Whenever Guardian of the Gateless blocks, it gets +1/+1 until end of turn for each creature it's blocking.
        this.addAbility(new BlocksTriggeredAbility(new BoostSourceEffect(1,1, Duration.EndOfTurn),false));
    }
View Full Code Here

        this.color.setWhite(true);
        this.power = new MageInt(2);
        this.toughness = new MageInt(2);
       
        // Whenever Elite Javelineer blocks, it deals 1 damage to target attacking creature.
        Ability ability = new BlocksTriggeredAbility(new DamageTargetEffect(1), false);
        ability.addTarget(new TargetCreaturePermanent(new FilterAttackingCreature()));
        this.addAbility(ability);
    }
View Full Code Here

        this.power = new MageInt(0);
        this.toughness = new MageInt(3);
        this.addAbility(DefenderAbility.getInstance());
       
        // Whenever Psychic Membrane blocks, you may draw a card.
        this.addAbility(new BlocksTriggeredAbility(new DrawCardSourceControllerEffect(1), true));
    }
View Full Code Here

        this.subtype.add("Construct");
        this.power = new MageInt(0);
        this.toughness = new MageInt(2);

        // Whenever Spincrusher blocks, put a +1/+1 counter on it.
        this.addAbility(new BlocksTriggeredAbility(new AddCountersSourceEffect(CounterType.P1P1.createInstance()), false));
        // Remove a +1/+1 counter from Spincrusher: Spincrusher is unblockable this turn.
        this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD,
                new UnblockableSourceEffect(Duration.EndOfTurn),
                new RemoveCountersSourceCost(CounterType.P1P1.createInstance(1))));
    }
View Full Code Here

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

        // Whenever Horde Ambusher blocks, it deals 1 damage to you.
        this.addAbility(new BlocksTriggeredAbility(new DamageControllerEffect(1), false));
       
        // Morph - Reveal a red card in your hand.
        this.addAbility(new MorphAbility(this, new RevealTargetFromHandCost(new TargetCardInHand(filter))));
       
        // When Horde Ambusher is turned face up, target creature can't block this turn.
View Full Code Here

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

        // Whenever Jareth, Leonine Titan blocks, it gets +7/+7 until end of turn.
        this.addAbility(new BlocksTriggeredAbility(new BoostSourceEffect(7,7,Duration.EndOfTurn), false));
        // {W}: Jareth gains protection from the color of your choice until end of turn.
        Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new JarethsGainProtectionFromColorSourceEffect(), new ManaCostsImpl("{W}"));
        ability.addChoice(new ChoiceColor());
        this.addAbility(ability);
View Full Code Here

        this.toughness = new MageInt(1);
       
        // Flying
        this.addAbility(FlyingAbility.getInstance());
        // Whenever Goldenglow Moth blocks, you may gain 4 life.
        this.addAbility(new BlocksTriggeredAbility(new GainLifeEffect(4), true));

    }
View Full Code Here

        this.toughness = new MageInt(3);

        // Flying
        this.addAbility(FlyingAbility.getInstance());
        // Whenever Sustainer of the Realm blocks, it gets +0/+2 until end of turn.
        this.addAbility(new BlocksTriggeredAbility(new BoostSourceEffect(0, 2, Duration.EndOfTurn), false));
    }
View Full Code Here

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

        // Whenever Giant Badger blocks, it gets +2/+2 until end of turn.
        this.addAbility(new BlocksTriggeredAbility(new BoostSourceEffect(2, 2, Duration.EndOfTurn), false));
    }
View Full Code Here

TOP

Related Classes of mage.abilities.common.BlocksTriggeredAbility

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.