Examples of doCombat()


Examples of csa.jportal.ai.enhancedAI.enhancedSim.VirtualMatch.doCombat()

                               
                                csa.jportal.ai.enhancedAI.enhancedSim.SingleFight sFight = csa.jportal.ai.enhancedAI.enhancedSim.SingleFight.getFight(initiator, vMatch.getBlocker(initiator), configTMP, false);
                               
                                vMatch.getAttacker().remove(initiator);
                                int oldOpponentHealth = vMatch.getLife((initiator.getOwner()+1)%2);
                                vMatch.doCombat(initiator.getOwner());
                                int newOpponentHealth = vMatch.getLife((initiator.getOwner()+1)%2);
                               
                                int otherDamage = oldOpponentHealth-newOpponentHealth;
                               
                                boolean damagePlayer =  EAIPlanTree.doRatherPlayerDamage(new VirtualMatch(c.E.mInitiatorMatch), sFight, initiator.getOwner(), otherDamage);
View Full Code Here

Examples of csa.jportal.ai.enhancedAI.enhancedSim.VirtualMatch.doCombat()

                        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
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.