From 3dde0bab893c5ffe0248d05886ee83ec8e279d9f Mon Sep 17 00:00:00 2001 From: LevelX2 Date: Mon, 10 Mar 2014 08:17:38 +0100 Subject: [PATCH] * Fixed AI announcing value for non mana variable costs. --- .../src/main/java/mage/player/ai/ComputerPlayer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Mage.Server.Plugins/Mage.Player.AI/src/main/java/mage/player/ai/ComputerPlayer.java b/Mage.Server.Plugins/Mage.Player.AI/src/main/java/mage/player/ai/ComputerPlayer.java index 5c960752f9..3b40337212 100644 --- a/Mage.Server.Plugins/Mage.Player.AI/src/main/java/mage/player/ai/ComputerPlayer.java +++ b/Mage.Server.Plugins/Mage.Player.AI/src/main/java/mage/player/ai/ComputerPlayer.java @@ -1042,7 +1042,7 @@ public class ComputerPlayer> extends PlayerImpl i //TODO: improve this int value = new Random().nextInt(max+1); if (value < max) { - max++; + value++; } return value; }