mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-15 18:28:00 +00:00
- Don't evaluate non-combat Haste more than once.
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user