1
0
Fork 0
mirror of https://github.com/correl/mage.git synced 2025-03-31 17:00:10 -09:00

some changes in eval func for tapped permanent

This commit is contained in:
magenoxx 2011-06-06 22:34:24 +04:00
parent b636f4d342
commit eb91d50f26
2 changed files with 3 additions and 3 deletions
Mage.Server.Plugins/Mage.Player.AI.MA/src/mage/player/ai

View file

@ -273,11 +273,11 @@ public class ComputerPlayer6 extends ComputerPlayer<ComputerPlayer6> implements
for (SimulationNode2 child: node.getChildren()) {
Combat _combat = child.getCombat();
if (alpha >= beta) {
logger.info("alpha beta pruning");
//logger.info("alpha beta pruning");
break;
}
if (SimulationNode2.nodeCount > maxNodes) {
logger.info("simulating -- reached end-state, count=" + SimulationNode2.nodeCount);
//logger.info("simulating -- reached end-state, count=" + SimulationNode2.nodeCount);
break;
}
int val = addActions(child, filter, depth-1, alpha, beta);

View file

@ -107,7 +107,7 @@ public class ArtificialScoringSystem {
}
public static int getTappedScore(final Permanent permanent) {
return permanent.getCardType().contains(Constants.CardType.CREATURE) ? -10 : -5;
return permanent.getCardType().contains(Constants.CardType.CREATURE) ? -100 : -50;
}
public static int getLifeScore(final int life) {