Examples of CantBeBlockedByOneAllEffect


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

        Effect effect = new LoseCreatureTypeSourceEffect(new DevotionCount(ColoredManaSymbol.R, ColoredManaSymbol.W), 7);
        effect.setText("As long as your devotion to red and white is less than seven, Iroas isn't a creature");
        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, effect));
       
        // Creatures you control can't be blocked except by two or more creatures.
        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new CantBeBlockedByOneAllEffect(2, filter)));
       
        // Prevent all damage that would be dealt to attacking creatures you control.
        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new PreventAllDamageToAllEffect(Duration.WhileOnBattlefield, filterAttacking)));
       
    }
View Full Code Here

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

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

        this.addAbility(DoubleStrikeAbility.getInstance());
        // Each Werewolf you control can't be blocked except by two or more creatures.
        Effect effect = new ConditionalContinousEffect(new CantBeBlockedByOneAllEffect(2, filter), new TransformedCondition(), ruleText);
        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, effect));
        // At the beginning of each upkeep, if a player cast two or more spells last turn, transform Terror of Kruin Pass.
        TriggeredAbility ability = new BeginningOfUpkeepTriggeredAbility(new TransformSourceEffect(false), TargetController.ANY, false);
        this.addAbility(new ConditionalTriggeredAbility(ability, TwoOrMoreSpellsWereCastLastTurnCondition.getInstance(), TransformAbility.TWO_OR_MORE_SPELLS_TRANSFORM_RULE));
    }
View Full Code Here

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

        this.expansionSetCode = "FEM";

        this.color.setRed(true);

        // Each creature you control can't be blocked except by two or more creatures.
        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new CantBeBlockedByOneAllEffect(2, filter)));
    }
View Full Code Here

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

        this.expansionSetCode = "ODY";

        this.color.setRed(true);

        // Each creature can't be blocked this turn except by two or more creatures.
        this.getSpellAbility().addEffect(new CantBeBlockedByOneAllEffect(2, new FilterCreaturePermanent(), Duration.EndOfTurn));

        // Threshold — If seven or more cards are in your graveyard, creatures can't block this turn.
        this.getSpellAbility().addEffect(
                new ConditionalOneShotEffect(
                    new AddContinuousEffectToGame(new CantBlockAllEffect(new FilterCreaturePermanent(), Duration.EndOfTurn)),
View Full Code Here

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

        this.color.setRed(true);
        this.color.setGreen(true);

        // Each attacking creature you control gets +1/+0 and can't be blocked except by two or more creatures.
        Ability ability = new SimpleStaticAbility(Zone.BATTLEFIELD, new CantBeBlockedByOneAllEffect(2, filter));
        ability.addEffect(new BoostAllEffect(1,0, Duration.WhileOnBattlefield, filter, false));
        this.addAbility(ability);

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