Package mage.abilities.condition.common

Examples of mage.abilities.condition.common.CardsInAnyLibraryCondition


        // Shroud
        this.addAbility(ShroudAbility.getInstance());
        // Isleback Spawn gets +4/+8 as long as a library has twenty or fewer cards in it.
        this.addAbility(new SimpleStaticAbility(Zone.ALL, new ConditionalContinousEffect(
                new BoostSourceEffect(4,8, Duration.EndOfGame),
                new CardsInAnyLibraryCondition(Condition.ComparisonType.LessThan, 21),
                "{this} gets +4/+8 as long as a library has twenty or fewer cards in it")));
    }
View Full Code Here


        this.addAbility(new HideawayAbility(this));
        // {tap}: Add {U} to your mana pool.
        this.addAbility(new BlueManaAbility());
        // {U}, {tap}: You may play the exiled card without paying its mana cost if a library has twenty or fewer cards in it.
        Ability ability = new ActivateIfConditionActivatedAbility(
                Zone.BATTLEFIELD, new HideawayPlayEffect(), new ManaCostsImpl("{U}"), new CardsInAnyLibraryCondition(Condition.ComparisonType.LessThan, 21));
        ability.addCost(new TapSourceCost());
        this.addAbility(ability);
    }
View Full Code Here

TOP

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

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.