Examples of BestowAbility


Examples of mage.abilities.keyword.BestowAbility

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

        // Bestow {2}{R}
        this.addAbility(new BestowAbility(this, "{2}{R}"));
        // {R}: Everflame Eidolon gets +1/+0 until end of turn. If it's an Aura, enchanted creature gets +1/+0 until end of turn instead.
        this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new ConditionalContinousEffect(
                new BoostEnchantedEffect(1, 0, Duration.EndOfTurn),
                new BoostSourceEffect(1, 0, Duration.EndOfTurn),
                new SourceHasSubtypeCondition("Aura"),
View Full Code Here

Examples of mage.abilities.keyword.BestowAbility

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

        // Bestow {5}{G}
        this.addAbility(new BestowAbility(this, "{5}{G}"));
        // All creatures able to block Noble Quarry or enchanted creature do so.
        Effect effect = new MustBeBlockedByAllSourceEffect(Duration.WhileOnBattlefield);
        effect.setText("All creatures able to block Noble Quarry");
        Ability ability = new SimpleStaticAbility(Zone.BATTLEFIELD, effect);
        effect = new MustBeBlockedByAllAttachedEffect(Duration.WhileOnBattlefield, AttachmentType.AURA);
View Full Code Here

Examples of mage.abilities.keyword.BestowAbility

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

        // Bestow {2}{W}
        this.addAbility(new BestowAbility(this, "{2}{W}"));
        // Enchanted creature gets +1/+2.
        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new BoostEnchantedEffect(1,2, Duration.WhileOnBattlefield)));
    }
View Full Code Here

Examples of mage.abilities.keyword.BestowAbility

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

        // Bestow {5}{U}
        this.addAbility(new BestowAbility(this, "{5}{U}"));
        // Flitterstep Eidolon can't be blocked.
        this.addAbility(new UnblockableAbility());
        // Enchanted creature gets +1/+1 and can't be blocked.
        Ability ability = new SimpleStaticAbility(Zone.BATTLEFIELD, new BoostEnchantedEffect(1,1, Duration.WhileOnBattlefield));
        ability.addEffect(new UnblockableAttachedEffect(AttachmentType.AURA));       
View Full Code Here

Examples of mage.abilities.keyword.BestowAbility

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

        // Bestow {2}{W}{U}{B}{R}{G}
        this.addAbility(new BestowAbility(this, "{2}{W}{U}{B}{R}{G}"));
        // Flying
        this.addAbility(FlyingAbility.getInstance());
        // First strike
        this.addAbility(FirstStrikeAbility.getInstance());
        // Vigilance
View Full Code Here

Examples of mage.abilities.keyword.BestowAbility

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

        // Bestow 4W (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, "{4}{W}"));
        // Sightless Brawler can't attack alone.
        this.addAbility(CantAttackAloneAbility.getInstance());
        // Enchanted creature gets +3/+2 and can't attack alone.
        Effect effect = new BoostEnchantedEffect(3,2, Duration.WhileOnBattlefield);
        effect.setText("Enchanted creature gets +3/+2");
View Full Code Here

Examples of mage.abilities.keyword.BestowAbility

        this.toughness = new MageInt(2);

        // Flash
        this.addAbility(FlashAbility.getInstance());
        // Bestow {3}{G}{G}
        this.addAbility(new BestowAbility(this, "{3}{G}{G}"));
        // Enchanted creature gets +4/+2.
        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new BoostEnchantedEffect(4,2, Duration.WhileOnBattlefield)));
    }
View Full Code Here

Examples of mage.abilities.keyword.BestowAbility

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

        // Bestow {2}{B}{B}
        this.addAbility(new BestowAbility(this, "{2}{B}{B}"));
        // Nighthowler and enchanted creature each get +X/+X, where X is the number of creature cards in all graveyards.
        DynamicValue graveCreatures = new CardsInAllGraveyardsCount(new FilterCreatureCard());
        Effect effect = new BoostSourceEffect(graveCreatures, graveCreatures, Duration.WhileOnBattlefield);
        Ability ability = new SimpleStaticAbility(Zone.BATTLEFIELD, effect);
        effect = new BoostEnchantedEffect(graveCreatures, graveCreatures, Duration.WhileOnBattlefield);
View Full Code Here

Examples of mage.abilities.keyword.BestowAbility

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

        // Bestow {5}{B} (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, "{5}{B}"));
        // Intimidate
        this.addAbility(IntimidateAbility.getInstance());
        // Enchanted creature gets +2/+2 and has intimidate.
        Ability ability = new SimpleStaticAbility(Zone.BATTLEFIELD, new BoostEnchantedEffect(2,2));
        Effect effect = new GainAbilityAttachedEffect(IntimidateAbility.getInstance(), AttachmentType.AURA);
View Full Code Here

Examples of mage.abilities.keyword.BestowAbility

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

        // Bestow {3}{W}
        addAbility(new BestowAbility(this, "{3}{W}"));
        // Lifelink
        this.addAbility(LifelinkAbility.getInstance());
        // Echanted creature gets +1/+1 and has lifelink.
        Ability ability = new SimpleStaticAbility(Zone.BATTLEFIELD, new BoostEnchantedEffect(1,1, Duration.WhileOnBattlefield));
        ability.addEffect(new GainAbilityAttachedEffect(LifelinkAbility.getInstance(), AttachmentType.AURA, Duration.WhileOnBattlefield,
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.