Package mage.abilities.keyword

Examples of mage.abilities.keyword.ProtectionAbility


        this.toughness = new MageInt(1);

        // Flying
        this.addAbility(FlyingAbility.getInstance());
        // protection from red
        this.addAbility(new ProtectionAbility(filter));
    }
View Full Code Here


        this.toughness = new MageInt(4);

        // Trample
        this.addAbility(TrampleAbility.getInstance());
        // protection from enchantments
        this.addAbility(new ProtectionAbility(filter));
        // {4}{R}{G}: Monstrosity 3.
        this.addAbility(new MonstrosityAbility("{4}{R}{G}", 3));
        // Whenever Polis Crusher deals combat damage to a player, if Polis Crusher is monstrous, destroy target enchantment that player controls.
        Ability ability = new ConditionalTriggeredAbility(
                new DealsCombatDamageToAPlayerTriggeredAbility(new DestroyTargetEffect(), false, true),
View Full Code Here

    public AbsoluteGrace(UUID ownerId) {
        super(ownerId, 1, "Absolute Grace", Rarity.UNCOMMON, new CardType[]{CardType.ENCHANTMENT}, "{1}{W}");
        this.expansionSetCode = "USG";
        this.color.setWhite(true);
        Ability ability = new ProtectionAbility(filter);
                this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new GainAbilityAllEffect(ability, Duration.WhileOnBattlefield, new FilterCreaturePermanent(), false)));
    }
View Full Code Here

        this.toughness = new MageInt(2);

        // First strike
        this.addAbility(FirstStrikeAbility.getInstance());
        // protection from white
        this.addAbility(new ProtectionAbility(filter));
    }
View Full Code Here

        this.subtype.add("Warrior");
        this.color.setGreen(true);
        this.power = new MageInt(3);
        this.toughness = new MageInt(1);
        this.addAbility(InfectAbility.getInstance());
        this.addAbility(new ProtectionAbility(new FilterArtifactCard("artifacts")));
    }
View Full Code Here

        this.subtype.add("Samurai");
        this.color.setWhite(true);
        this.power = new MageInt(2);
        this.toughness = new MageInt(2);
        // Protection from black
        this.addAbility(new ProtectionAbility(filter));
        this.addAbility(new BushidoAbility(1));
    }
View Full Code Here

        this.color.setGreen(true);
        this.subtype.add("Cat");
        this.subtype.add("Scout");
        this.power = new MageInt(2);
        this.toughness = new MageInt(2);
        this.addAbility(new ProtectionAbility(filter));
    }
View Full Code Here

        this.color.setRed(true);
        this.subtype.add("Goblin");
        this.subtype.add("Scout");
        this.power = new MageInt(2);
    this.toughness = new MageInt(2);
        this.addAbility(new ProtectionAbility(filter));
    }
View Full Code Here

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

        this.addAbility(FlashAbility.getInstance());
        this.addAbility(new ProtectionAbility(filter));
    }
View Full Code Here

        color.setRed(true);
        subtype.add("Goblin");
        subtype.add("Shaman");
        power = new MageInt(2);
        toughness = new MageInt(2);
        this.addAbility(new ProtectionAbility(filter));
        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new TokTokVolcanoBornEffect()));
    }
View Full Code Here

TOP

Related Classes of mage.abilities.keyword.ProtectionAbility

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.