Package mage.game.turn

Examples of mage.game.turn.DeclareBlockersStep


        logger.fine("resolving triggered abilities");
        sim.applyEffects();
      }
      sim.fireEvent(GameEvent.getEvent(GameEvent.EventType.DECLARE_ATTACKERS_STEP_POST, sim.getActivePlayerId(), sim.getActivePlayerId()));
      Combat simCombat = sim.getCombat().copy();
      sim.getPhase().setStep(new DeclareBlockersStep());
      val = simulateCombat(sim, newNode, depth-1, alpha, beta, counter);
      if (!attackerId.equals(playerId)) {
        if (val < beta) {
          beta = val;
          bestNode = newNode;
View Full Code Here


          break;
        case BEGIN_COMBAT:
          game.getPhase().setStep(new DeclareAttackersStep());
          break;
        case DECLARE_ATTACKERS:
          game.getPhase().setStep(new DeclareBlockersStep());
          break;
        case DECLARE_BLOCKERS:
          game.getPhase().setStep(new CombatDamageStep(true));
          break;
        case COMBAT_DAMAGE:
View Full Code Here

                logger.debug("Sim attack: resolving triggered abilities");
                sim.applyEffects();
            }
            sim.fireEvent(GameEvent.getEvent(GameEvent.EventType.DECLARE_ATTACKERS_STEP_POST, sim.getActivePlayerId(), sim.getActivePlayerId()));
            Combat simCombat = sim.getCombat().copy();
            sim.getPhase().setStep(new DeclareBlockersStep());
            val = simulateCombat(sim, newNode, depth-1, alpha, beta, counter);
            if (!attackerId.equals(playerId)) {
                if (val < beta) {
                    beta = val;
                    bestNode = newNode;
View Full Code Here

TOP

Related Classes of mage.game.turn.DeclareBlockersStep

Copyright © 2018 www.massapicom. 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.