Package mage.abilities.effects.common.combat

Examples of mage.abilities.effects.common.combat.AttacksIfAbleSourceEffect


* @author BetaSteward_at_googlemail.com
*/
public class AttacksEachTurnStaticAbility extends StaticAbility {

    public AttacksEachTurnStaticAbility() {
        super(Zone.BATTLEFIELD, new AttacksIfAbleSourceEffect(Duration.WhileOnBattlefield));
    }
View Full Code Here


        this.power = new MageInt(5);
        this.toughness = new MageInt(3);

        // Marauding Maulhorn attacks each combat if able unless you control a creature named Advocate of the Beast.
        Effect effect = new ConditionalRequirementEffect(
                new AttacksIfAbleSourceEffect(Duration.WhileOnBattlefield),
                new PermanentsOnTheBattlefieldCondition(filter, PermanentsOnTheBattlefieldCondition.CountType.FEWER_THAN, 1));
        effect.setText("{this} attacks each combat if able unless you control a creature named Advocate of the Beast");

        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, effect));
       
View Full Code Here

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

        // Deathbellow Raider attacks each turn if able.
        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new AttacksIfAbleSourceEffect(Duration.WhileOnBattlefield)));
        // {2}{B}: Regenerate Deathbellow Raider.
        this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new RegenerateSourceEffect(), new ManaCostsImpl("{2}{B}")));
    }
View Full Code Here

TOP

Related Classes of mage.abilities.effects.common.combat.AttacksIfAbleSourceEffect

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.