Examples of VirtualMatch


Examples of csa.jportal.ai.enhancedAI.enhancedSim.VirtualMatch

                String key = HintAll.HINT_SITUATION_ATTACKER;
                if (aHints.hasHint(key, HintOccurrence.O_WHEN_NOT_BLOCKED))
                {
                    if (aHints.hasHint(key, HintTargetTypes.TY_DAMAGE_AS_BLOCKED))
                    {
                        VirtualMatch vMatch = new VirtualMatch(c.E.mInitiatorMatch);
                        int damageToDo = initiator.getNowPower();
                        vMatch.getAttacker().remove(initiator);
                        CardSimList attackersToRemove = new CardSimList( c.E.mInitiatorMatch.getAttacksDone());
                        vMatch.getAttacker().removeListDirect(attackersToRemove);

                        vMatch.doCombat(initiator.getOwner());
                        EAIPlanTree.getBestDamageTarget(vMatch, damageToDo, initiator.getOwner(), c);
                        return;
                    }

View Full Code Here

Examples of csa.jportal.ai.enhancedAI.enhancedSim.VirtualMatch

     *
     * @return ManaCollection
     */
    public ManaCollection getMaxAvailableMana()
    {
        return getMaxAvailableMana(new VirtualMatch(E.match));
        /*
        ManaCollection mc = new ManaCollection();

        CardList lands = E.match.getLand(E.player);
        CardList field = E.match.getBattlefield(E.player);
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.