Examples of notSupertypes()


Examples of mage.cards.repository.CardCriteria.notSupertypes()

        List<Card> nonBasicLandCardPool = new ArrayList<Card>();

        CardCriteria landCriteria = new CardCriteria();
        landCriteria.setCodes(setsToUse.toArray(new String[0]));
        landCriteria.types(CardType.LAND);
        landCriteria.notSupertypes("Basic");
        List<CardInfo> landCards = CardRepository.instance.findCards(landCriteria);

        int allCount = landCards.size();
        Random random = new Random();
        if (allCount > 0) {
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.