Examples of onlyTapstate()


Examples of csa.jportal.ai.enhancedAI.enhancedSim.CardSimList.onlyTapstate()


        // remove creatures with activation ability
        blocker = blocker.removeActivateable();
        blocker = vMatch.removeAllreadyBlocking(blocker);
        blocker = blocker.onlyTapstate(false);


        String blKey = generateBlockerKey(attacker, blocker);
        CombatFormation formation = blockerCache.get(blKey);
View Full Code Here

Examples of csa.jportal.ai.enhancedAI.enhancedSim.CardSimList.onlyTapstate()

        }
       
        // smallest first
        CardSimList shorten = (CardSimList) attackers.clone();
        CardSimList possibleBlockers = vMatch.getBattlefield((player+1)%2).getSubListByType("Creature");
        possibleBlockers = possibleBlockers.onlyTapstate(false);

        CardSimList undangeredAttackers = new CardSimList();
        CardSimList blockCheck = new CardSimList(shorten);
       
        if (possibleBlockers.size() != 0)
View Full Code Here

Examples of csa.jportal.ai.enhancedAI.enhancedSim.CardSimList.onlyTapstate()

                    c.attackerLands = vMatch.getLand(opponent);
                    c.blockerLands = vMatch.getLand(player);
                    CardSimList blocker = vMatch.getBattlefield(player).getSubListByType("Creature");
                    blocker = blocker.removeActivateable();
                    //blocker = vMatch.removeAllreadyBlocking(blocker);
                    blocker = blocker.onlyTapstate(false);

                    CombatSimNew csim = new CombatSimNew(possibleAttackers, blocker, c, false);
                    int blockerHealth = vMatch.getLife(player);

                    // TEST new Attacking!
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.