Examples of MonocoloredPredicate


Examples of mage.filter.predicate.mageobject.MonocoloredPredicate

        Player player = game.getPlayer(targetPointer.getFirst(game, source));
        if (player == null) {
            return false;
        }
        filter.add(new ControllerPredicate(TargetController.YOU));
        filter.add(new MonocoloredPredicate());
       
        int amount;
        int realCount = game.getBattlefield().countAll(filter, player.getId(), game);
        amount = Math.min(1, realCount);
       
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.