Package mage.abilities.effects.common.combat

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


        // Flying
        this.addAbility(FlyingAbility.getInstance());

        // Wind Spirit can't be blocked except by two or more creatures.
        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new CantBeBlockedByOneEffect(2)));
    }
View Full Code Here


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

        this.addAbility(new BloodthirstAbility(2));
        // Stormblood Berserker can't be blocked except by two or more creatures.
        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new CantBeBlockedByOneEffect(2)));
    }
View Full Code Here

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

        // All Sliver creatures have "This creature can't be blocked except by two or more creatures."
        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new GainAbilityAllEffect(
                new SimpleStaticAbility(Zone.BATTLEFIELD, new CantBeBlockedByOneEffect(2)),
                Duration.WhileOnBattlefield, filter,
                "All Sliver creatures have \"This creature can't be blocked except by two or more creatures.\"")));
    }
View Full Code Here

        this.toughness = new MageInt(2);

        // Flanking
        this.addAbility(new FlankingAbility());
        // {1}{R}: Searing Spear Askari can't be blocked except by two or more creatures this turn.
        this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new GainAbilitySourceEffect(new SimpleStaticAbility(Zone.BATTLEFIELD, new CantBeBlockedByOneEffect(2)), Duration.EndOfTurn), new ManaCostsImpl("{1}{R}")));
    }
View Full Code Here

        this.color.setBlack(true);
        this.power = new MageInt(6);
        this.toughness = new MageInt(6);

        // Underworld Cerberus can't be blocked except by three or more creatures.
        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new CantBeBlockedByOneEffect(3)));
        // Cards in graveyards can't be the targets of spells or abilities.
        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new UnderworldCerberusEffect()));
        // When Underworld Cerberus dies, exile it and each player returns all creature cards from his or her graveyard to his or her hand.
        Ability ability = new DiesTriggeredAbility(new ExileSourceEffect());
        ability.addEffect(new ReturnToHandFromGraveyardAllEffect(new FilterCreatureCard("creature cards")));
View Full Code Here

    @Override
    public boolean apply(Game game, Ability source) {

        FilterCreaturePermanent filter = new FilterCreaturePermanent();
        for (Permanent perm: game.getBattlefield().getAllActivePermanents(filter, source.getControllerId(), game)) {
            CantBeBlockedByOneEffect effect = new CantBeBlockedByOneEffect(2, Duration.EndOfTurn);
            SimpleStaticAbility ability = new SimpleStaticAbility(Zone.BATTLEFIELD, effect);
            perm.addAbility(ability, game);
        }
        return false;
    }
View Full Code Here

        this.toughness = new MageInt(3);

        // Bestow {6}{R}  (If you cast this card for its bestow cost, it's an Aura spell with enchant creature. It becomes a creature again if it's not attached to a creature.)
        this.addAbility(new BestowAbility(this, "{6}{R}"));
        // Purphoros's Emissary can't be blocked except by two or more creatures.
        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new CantBeBlockedByOneEffect(2)));
        // Enchanted creature gets +3/+3 and can't be blocked except by two or more creatures.
        Ability ability = new SimpleStaticAbility(Zone.BATTLEFIELD, new BoostEnchantedEffect(3,3));
        Effect effect = new GainAbilityAttachedEffect(new SimpleStaticAbility(Zone.BATTLEFIELD, new CantBeBlockedByOneEffect(2)), AttachmentType.AURA);
        effect.setText("and can't be blocked except by two or more creatures");
        ability.addEffect(effect);
        this.addAbility(ability);
    }
View Full Code Here

TOP

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

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.