Package mage.abilities.condition.common

Examples of mage.abilities.condition.common.CardsInControllerGraveCondition


        this.addAbility(ability);
        // Enchanted creature has flying.
        ability = new SimpleStaticAbility(Zone.BATTLEFIELD, new GainAbilityAttachedEffect(FlyingAbility.getInstance(), AttachmentType.AURA, Duration.WhileOnBattlefield));
        // Threshold - Enchanted creature has shroud as long as seven or more cards are in your graveyard.
        ability.addEffect(new ConditionalContinousEffect(new GainAbilityAttachedEffect(ShroudAbility.getInstance(), AttachmentType.AURA, Duration.WhileOnBattlefield),
                                                         new CardsInControllerGraveCondition(7)
                                                         "<i>Threshold</i> - Enchanted creature gets shroud as long as seven or more cards are in your graveyard"));
        this.addAbility(ability);
    }
View Full Code Here


        // At the beginning of your upkeep, you may put a 1/1 green Squirrel creature token onto the battlefield.
        this.addAbility(new BeginningOfUpkeepTriggeredAbility(Zone.BATTLEFIELD, new CreateTokenEffect(new SquirrelToken()), TargetController.YOU, true));
        // Threshold - Squirrel creatures get +2/+2 as long as seven or more cards are in your graveyard.
        this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD,
                                                new ConditionalContinousEffect(new BoostAllEffect(2, 2, Duration.WhileOnBattlefield, filter, false),
                                                new CardsInControllerGraveCondition(7),
                                                "<i>Threshold</i> - Squirrel creatures get +2/+2 as long as seven or more cards are in your graveyard")));
    }
View Full Code Here

TOP

Related Classes of mage.abilities.condition.common.CardsInControllerGraveCondition

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.