- Don't evaluate non-combat Haste more than once.

This commit is contained in:
Agetian
2018-12-10 07:48:01 +03:00
parent 027b912199
commit 38831e11bf

View File

@@ -1320,6 +1320,7 @@ public class ComputerUtilCard {
if (abCost != null && abCost.hasTapCost() if (abCost != null && abCost.hasTapCost()
&& (!abCost.hasManaCost() || ComputerUtilMana.canPayManaCost(ab, ai, 0))) { && (!abCost.hasManaCost() || ComputerUtilMana.canPayManaCost(ab, ai, 0))) {
nonCombatChance += 0.5f; nonCombatChance += 0.5f;
break;
} }
} }
// combat Haste: only grant it if the creature will attack // combat Haste: only grant it if the creature will attack